tech.ydb.topic.read.events.ReadEventHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ydb-sdk-topic Show documentation
Show all versions of ydb-sdk-topic Show documentation
Topic client implementation
package tech.ydb.topic.read.events;
/**
* @author Nikolay Perfilov
*/
public interface ReadEventHandler {
void onMessages(DataReceivedEvent event);
void onCommitResponse(CommitOffsetAcknowledgementEvent event);
void onStartPartitionSession(StartPartitionSessionEvent event);
void onStopPartitionSession(StopPartitionSessionEvent event);
void onPartitionSessionClosed(PartitionSessionClosedEvent event);
void onReaderClosed(ReaderClosedEvent event);
}