Class StickyTaskAssignor
java.lang.Object
org.apache.kafka.streams.processor.assignment.assignors.StickyTaskAssignor
- All Implemented Interfaces:
- Configurable,- TaskAssignor
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.kafka.streams.processor.assignment.TaskAssignorTaskAssignor.AssignmentError, TaskAssignor.TaskAssignment
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final int
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.kafka.streams.processor.assignment.TaskAssignorconfigure, onAssignmentComputed
- 
Field Details- 
DEFAULT_STICKY_TRAFFIC_COSTpublic static final int DEFAULT_STICKY_TRAFFIC_COST- See Also:
 
- 
DEFAULT_STICKY_NON_OVERLAP_COSTpublic static final int DEFAULT_STICKY_NON_OVERLAP_COST- See Also:
 
 
- 
- 
Constructor Details- 
StickyTaskAssignorpublic StickyTaskAssignor()
- 
StickyTaskAssignorpublic StickyTaskAssignor(boolean mustPreserveActiveTaskAssignment) 
 
- 
- 
Method Details- 
assign- Specified by:
- assignin interface- TaskAssignor
- Parameters:
- applicationState- the metadata for this Kafka Streams application
- Returns:
- the assignment of active and standby tasks to KafkaStreams clients
 
 
-