Class GetPositionResult
java.lang.Object
io.fluxzero.common.api.AbstractRequestResult
io.fluxzero.common.api.tracking.GetPositionResult
- All Implemented Interfaces:
JsonType, RequestResult
Response to a
GetPosition request, containing the current tracked position for a specific consumer and
MessageType.
This result provides insight into how far a consumer has progressed in processing messages. The Position
includes one or more segment-index pairs that together describe the consumption state of a consumer.
Use Cases
- Monitor consumer lag across distributed segments
- Confirm the effects of a
ResetPositionorStorePosition - Diagnose stuck or lagging consumers by examining last processed indexes
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractRequestResult
getRequestReceivedTimestamp, getResponseQueuedTimestamp, getResponseSendStartTimestamp, setRequestReceivedTimestamp, setResponseQueuedTimestamp, setResponseSendStartTimestampMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RequestResult
getRequestId, getTimestamp
-
Constructor Details
-
GetPositionResult
public GetPositionResult()
-