Hello - Can someone please point me to some document / code snippet as to how Flink uses Kafka consumer group property "group.id". In the message http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-kafka-group-question-td8185.html#none I see the following ..
Internally, the Flink Kafka connectors don’t use the consumer group > management functionality because they are using lower-level APIs > (SimpleConsumer in 0.8, and KafkaConsumer#assign(…) in 0.9) on each > parallel instance for more control on individual partition consumption. So, > essentially, the “group.id” setting in the Flink Kafka connector is only > used for committing offsets back to ZK / Kafka brokers. This message is quite old - has anything changed since then? Looks like this property is a mandatory setting though. If I have multiple flink streaming jobs, since each job tracks the offsets individually and saves it by the internal checkpoint mechanism, is there no need to specify a different groupd.id for each job ? And in the case when there are two jobs reading the same topic but has different business logic will that work correctly although the consumers will be in the same consumer-group? Thanks for any help. regards. -- Debasish Ghosh http://manning.com/ghosh2 http://manning.com/ghosh Twttr: @debasishg Blog: http://debasishg.blogspot.com Code: http://github.com/debasishg