You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2018/05/16 20:34:00 UTC
[jira] [Resolved] (KAFKA-6838) Transaction timeout after
punctuation results in ProducerFencedException
[ https://issues.apache.org/jira/browse/KAFKA-6838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax resolved KAFKA-6838.
------------------------------------
Resolution: Duplicate
Thanks for confirmation [~feli6]! Closing as duplicate.
> Transaction timeout after punctuation results in ProducerFencedException
> ------------------------------------------------------------------------
>
> Key: KAFKA-6838
> URL: https://issues.apache.org/jira/browse/KAFKA-6838
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 1.1.0
> Reporter: Felix Dsouza
> Priority: Major
> Attachments: punctuat-producer-fencing-borker.log
>
>
> It looks like the EOS/transaction handling for stream punctuation does not work correctly.
> We have encountered ProducerFencedException in a specific case where new events do not arrive before the transaction started by punctuation times out.
> Following squence of events trigger this scenario.
> 1. Punctuation is triggered, we delete some records from the State store (logging enabled) . A transaction is registered on the broker. txnState=Ongoing
> 2. There are no new events to be consumed (period of inactivity) and no new punctuation happening.
> 3. Broker aborts the transaction after about 60000 ms (default transaction timeout duration for the stream) , txnState=Ongoing -> txnState=PrepareAbort -> txnState=CompleteAbort
> 4. A new event comes in and hits producer fenced exception
>
> Attached are the logs from the broker where a successful processing, along with transaction timeout and producer fencing is shown.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)