use of io.zeebe.logstreams.log.LogStreamReader in project zeebe by zeebe-io.
the class TopicSubscriptionPushProcessor method onOpen.
@Override
public void onOpen(StreamProcessorContext context) {
this.context = context;
final LogStreamReader logReader = context.getLogStreamReader();
final LogStream logStream = context.getLogStream();
this.logStreamPartitionId = logStream.getPartitionId();
setToStartPosition(logReader);
context.suspendController();
}
Aggregations