Class GetPositionResult
java.lang.Object
io.fluxcapacitor.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
ResetPosition
orStorePosition
- Diagnose stuck or lagging consumers by examining last processed indexes
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.fluxcapacitor.common.api.RequestResult
getRequestId, getTimestamp
-
Constructor Details
-
GetPositionResult
public GetPositionResult()
-