ConsumerStrategy
is the contract for components that can create a KafkaConsumer using the given Kafka parameters.
createConsumer(kafkaParams: java.util.Map[String, Object]): Consumer[Array[Byte], Array[Byte]]
ConsumerStrategy | createConsumer | ||
---|---|---|---|
Uses KafkaConsumer.assign(Collection<TopicPartition> partitions) |
|||
Uses KafkaConsumer.subscribe(Pattern pattern, ConsumerRebalanceListener listener) with
|