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

Jin Xu edited comment on FLINK-22785 at 6/2/21, 5:20 AM:
---------------------------------------------------------

should not use 2 seperate producers on 1 topic, 

say, e.g.,  producer1 start >producer2 start> producer3 start-> producer2 
commit  >producer3 commit ->producer1 commit

 

 all messages would be hold up until producer1 commit


was (Author: shopee-jin):
should not use 2 seperate producers on 1 topic, 

say, e.g.,  producer1 start ->producer2 start-> producer3 start-> producer2 
commit  ->producer3 commit ->producer1 commit--

 

 all messages would be hold up until producer1 commit

> 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)

Reply via email to