Class MemberAssignment

java.lang.Object
org.apache.kafka.coordinator.group.api.streams.assignor.MemberAssignment

@Public @Evolving public class MemberAssignment extends Object
The task assignment for a streams group member.

Only active and standby tasks are assigned by the TaskAssignor. Warm-up tasks are not assigned by the assignor; they are decided during reconciliation.

  • Constructor Details

  • Method Details

    • activeTasks

      public Map<String, Set<Integer>> activeTasks()
      Returns:
      The active tasks assigned to this member keyed by subtopology Id.
    • standbyTasks

      public Map<String, Set<Integer>> standbyTasks()
      Returns:
      The standby tasks assigned to this member keyed by subtopology Id.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object