PartitionReceiver.getEventPosition 方法

定义

Get the EventPosition that corresponds to an EventData which was returned last by the receiver.

This value will not be populated, unless the knob setReceiverRuntimeMetricEnabled(boolean value) is set. Note that EventPosition object is initialized using SequenceNumber and other parameters are not set and get will return null.

public EventPosition getEventPosition()

返回

the EventPosition object.

适用于