KafkaConsumer API doc has the following statement.

"Note that it isn't possible to mix manual partition assignment (i.e. using
assign
<https://kafka.apache.org/0100/javadoc/org/apache/kafka/clients/consumer/KafkaConsumer.html#assign(java.util.Collection)>)
with dynamic partition assignment through topic subscription (i.e. using
subscribe
<https://kafka.apache.org/0100/javadoc/org/apache/kafka/clients/consumer/KafkaConsumer.html#subscribe(java.util.Collection)>
)."

Question:  Does this statement applies to only one consumer group  or
multiple consumer groups ?
Meaning, can one consumer group has manual assignment and other consumer
group has automatic assignment  ?   OR if atleast one consumer group has
manual assignment, then automatic assignment doesnt work for any other
consumer group also ?

Thanks for clarifying this.

Reply via email to