Class ConsumerPartitionAssignor.Subscription
java.lang.Object
org.apache.kafka.clients.consumer.ConsumerPartitionAssignor.Subscription
- Enclosing interface:
- ConsumerPartitionAssignor
public static final class ConsumerPartitionAssignor.Subscription extends Object
-
Constructor Summary
Constructors Constructor Description Subscription(List<String> topics)
Subscription(List<String> topics, ByteBuffer userData)
Subscription(List<String> topics, ByteBuffer userData, List<TopicPartition> ownedPartitions)
-
Method Summary
Modifier and Type Method Description Optional<String>
groupInstanceId()
List<TopicPartition>
ownedPartitions()
void
setGroupInstanceId(Optional<String> groupInstanceId)
List<String>
topics()
String
toString()
ByteBuffer
userData()
-
Constructor Details
-
Subscription
public Subscription(List<String> topics, ByteBuffer userData, List<TopicPartition> ownedPartitions) -
Subscription
-
Subscription
-
-
Method Details