public interface PipelineChannel
| Modifier and Type | Method and Description |
|---|---|
void |
ack(List<Record> records)
Ack the last batch.
|
void |
close()
Close channel.
|
List<Record> |
fetchRecords(int batchSize,
int timeoutSeconds)
Fetch
Record list from channel. |
void |
pushRecord(Record dataRecord)
Push
DataRecord into channel. |
void pushRecord(Record dataRecord)
DataRecord into channel.dataRecord - dataList<Record> fetchRecords(int batchSize, int timeoutSeconds)
Record list from channel.
It might be blocked at most timeout seconds if available records count doesn't reach batch size.batchSize - record batch sizetimeoutSeconds - timeout(seconds)void close()
Copyright © 2022 The Apache Software Foundation. All rights reserved.