public class KafkaConsumerCallBridge010 extends KafkaConsumerCallBridge
KafkaConsumer.assign(java.util.Collection) method.
This indirection is necessary, because Kafka broke binary compatibility between 0.9 and 0.10,
changing assign(List) to assign(Collection).
Because of that, we need two versions whose compiled code goes against different method signatures.| Constructor and Description |
|---|
KafkaConsumerCallBridge010() |
| Modifier and Type | Method and Description |
|---|---|
void |
assignPartitions(org.apache.kafka.clients.consumer.KafkaConsumer<?,?> consumer,
List<org.apache.kafka.common.TopicPartition> topicPartitions) |
public void assignPartitions(org.apache.kafka.clients.consumer.KafkaConsumer<?,?> consumer,
List<org.apache.kafka.common.TopicPartition> topicPartitions)
throws Exception
assignPartitions in class KafkaConsumerCallBridgeExceptionCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.