I just talked to @hachikuji about this. Not committing is actually fine. Note, 
that beginTx() is a client local state transition -- nothing is written to the 
log (there are not "begin tx markers") and the TC state is also not modified. 
This implies, that the transaction timeout is not started on beginTx() -- the 
timeout only starts after the first record was written to the log. Thus, we 
don't even need to tell users to increase the tx timeout for low traffic topic 
that might have longer periods with no data.

[ Full content available at: https://github.com/apache/kafka/pull/5428 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to