[
https://issues.apache.org/jira/browse/FLINK-22785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17355485#comment-17355485
]
Jin Xu commented on FLINK-22785:
--------------------------------
if you bring up 2 flink producer, transactionalid might collide
> Kafka transaction failing when there are two producers
> ------------------------------------------------------
>
> Key: FLINK-22785
> URL: https://issues.apache.org/jira/browse/FLINK-22785
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka
> Affects Versions: 1.12.1
> Reporter: Ygor Allan de Fraga
> Priority: Major
>
> Whenever there are two producers in the same Kafka Topic, an error related to
> the transaction appears for one of the Flink Applications.
>
> {code:java}
> org.apache.kafka.common.errors.ProducerFencedException: Producer attempted
> an operation with an old epoch. Either there is a newer producer with the
> same transactionalId, or the producer's transaction has been expired by the
> broker.{code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)