Class ConsumerPartitionAssignor.Assignment
- java.lang.Object
-
- org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Assignment
-
- Enclosing interface:
- ConsumerPartitionAssignor
public static final class ConsumerPartitionAssignor.Assignment extends Object
-
-
Constructor Summary
Constructors Constructor Description Assignment(List<TopicPartition> partitions)
Assignment(List<TopicPartition> partitions, ByteBuffer userData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TopicPartition>
partitions()
String
toString()
ByteBuffer
userData()
-
-
-
Constructor Detail
-
Assignment
public Assignment(List<TopicPartition> partitions, ByteBuffer userData)
-
Assignment
public Assignment(List<TopicPartition> partitions)
-
-
Method Detail
-
partitions
public List<TopicPartition> partitions()
-
userData
public ByteBuffer userData()
-
-