[ 
https://issues.apache.org/jira/browse/FLINK-12548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17041799#comment-17041799
 ] 

Aljoscha Krettek commented on FLINK-12548:
------------------------------------------

[~sjwiesman] Do you maybe have an opinion on this? It is true, though, that the 
way Flink behaves as a Kafka Client is not compatible with the rest of the 
Kafka ecosystem, because we manage offsets and the like ourselves.

> FlinkKafkaConsumer issues configuring underlying KafkaConsumer
> --------------------------------------------------------------
>
>                 Key: FLINK-12548
>                 URL: https://issues.apache.org/jira/browse/FLINK-12548
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Kafka
>    Affects Versions: 1.8.0
>            Reporter: Leonid Ilyevsky
>            Assignee: Hugo Da Cruz Louro
>            Priority: Major
>         Attachments: KafkaError.txt
>
>
> I observe two issues that are possibly related, or at least belong to the 
> same part of the code.
> I am running multiple instances of pipelines (by setting parallelism) under 
> Flink cluster.
> First problem I see is the "Error registering AppInfo mbean", see attached 
> stack trace [^KafkaError.txt] . From the trace I understand that it tries to 
> use consumer group id as the bean name; obviously this fails as I have 
> multiple instances using the same group id under the same task manager.
> Second problem is, the client id is not set at all (I do provide the 
> "client.id" property when invoking FlinkKafkaConsumer constructor). This 
> creates problems tracking consumers on Kafka side. On the other hand, I 
> obviously do not want to set the same client id on all instances - preferably 
> Flink should add maybe some UUID suffix to it or something to make it unique.
> The same unique name could be used for that mbean, this way solving the first 
> problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to