public interface ITridentPartitionManager
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
open(String offset) |
List<EventDataWrap> |
receiveBatch(String offset,
int count)
receive a batch of messages from EvenHub up to “count” messages.
|
boolean open(String offset)
void close()
List<EventDataWrap> receiveBatch(String offset, int count)
receive a batch of messages from EvenHub up to “count” messages.
offset
- the starting offsetcount
- max number of messages in this batchCopyright © 2022 The Apache Software Foundation. All rights reserved.