[ 
https://issues.apache.org/jira/browse/KAFKA-14294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vicky Papavasileiou updated KAFKA-14294:
----------------------------------------
    Summary: Kafka Streams should commit transaction when no records are 
processed  (was: Kafka Streams should commit transaction even no records are 
processed)

> Kafka Streams should commit transaction when no records are processed
> ---------------------------------------------------------------------
>
>                 Key: KAFKA-14294
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14294
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Vicky Papavasileiou
>            Priority: Major
>
> Currently, if there are no records to process in the input topic, a 
> transaction does not commit. If a custom punctuator code is writing to a 
> state store (which is common practice) the producer gets fenced when trying 
> to write to the changelog topic. This throws a TaskMigratedException and 
> causes a rebalance. 
> A better approach would be to commit a transaction even when there are no 
> records processed as to allow the punctuator to make progress. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to