flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Lalafaryan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6263) Leader error in Kafka producer on leader change (broker restart/failrue)
Date Thu, 15 Jun 2017 08:25:00 GMT

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

Konstantin Lalafaryan commented on FLINK-6263:
----------------------------------------------

What is the status of this bug ? We have the same problem in our flink job.

> Leader error in Kafka producer on leader change (broker restart/failrue)
> ------------------------------------------------------------------------
>
>                 Key: FLINK-6263
>                 URL: https://issues.apache.org/jira/browse/FLINK-6263
>             Project: Flink
>          Issue Type: Bug
>          Components: Kafka Connector
>    Affects Versions: 1.2.0
>            Reporter: Gyula Fora
>
> We have observed the following error in the Kafka producer
> java.lang.Exception: Failed to send data to Kafka: This server is not the leader for
that topic-partition.
> 	at org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducerBase.checkErroneous(FlinkKafkaProducerBase.java:376)
> 	at org.apache.flink.streaming.connectors.kafka.FlinkKafkaProducerBase.invoke(FlinkKafkaProducerBase.java:293)
> 	at org.apache.flink.streaming.api.operators.StreamSink.processElement(StreamSink.java:38)
> 	at org.apache.flink.streaming.runtime.io.StreamInputProcessor.processInput(StreamInputProcessor.java:185)
> 	at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask.run(OneInputStreamTask.java:63)
> 	at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:261)
> 	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:656)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: org.apache.kafka.common.errors.NotLeaderForPartitionException: This server
is not the leader for that topic-partition.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message