Interface MemberAssignmentState
@Public
@Evolving
public interface MemberAssignmentState
The active, standby, and warm-up tasks that a streams group member currently has,
used by the
TaskAssignor to compute a new target assignment.
All maps returned by this interface, including their nested collections, are unmodifiable.
-
Method Summary
-
Method Details
-
activeTasks
- Returns:
- The member's current active tasks keyed by subtopology Id.
-
standbyTasks
- Returns:
- The member's current standby tasks keyed by subtopology Id.
-
warmupTasks
- Returns:
- The tasks the member is currently warming up, keyed by subtopology Id.
-
taskOffsets
- Returns:
- The last received cumulative task offsets of assigned tasks or dormant tasks. The outer map is keyed by subtopology ID and the inner map by partition.
-
taskEndOffsets
- Returns:
- The last received cumulative task end offsets of assigned tasks or dormant tasks. The outer map is keyed by subtopology ID and the inner map by partition.
-