You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Ricardo Dinis <di...@gmail.com> on 2018/02/16 13:05:34 UTC

Question about the need of consumer groups from kafka

Hi,

If flink can manage kafka without using its own's mechanism (kafka
consumers) it still need the consumer group defined from kafka?

And why the examples is needed to use the plugin for shadding creating a
fat-jar?

Thanks

Re: Question about the need of consumer groups from kafka

Posted by Till Rohrmann <tr...@apache.org>.
Hi Ricardo,

could you please give a bit more details what you mean with "not using its
own mechanism"? Flink's Kafka connector uses the Kafka consumer and
producer (to some extent) API to talk to Kafka. The consumer groups are a
central concept of Kafka and as such, the Flink Kafka connector has to know
it in order to consume from the right group.

Creating a fat-jar will make sure that the jar includes additional
dependencies such as the flink-kafka-connector which is not present on the
Flink cluster.

Cheers,
Till

On Fri, Feb 16, 2018 at 2:05 PM, Ricardo Dinis <di...@gmail.com> wrote:

> Hi,
>
> If flink can manage kafka without using its own's mechanism (kafka
> consumers) it still need the consumer group defined from kafka?
>
> And why the examples is needed to use the plugin for shadding creating a
> fat-jar?
>
> Thanks
>