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