Github user pnowojski commented on the issue:
    Indeed it seems like you are right. `read_committed` doesn't play along 
with long ``. I'm not sure about Beam, but in Flink 
we can not use one single ``, because our checkpoints are 
asynchronous - `notifyCheckpointComplete` (which triggers 
`KafkaProducer#commit`) can come long after `preCommit`. In that time we can 
not use the same `` for new transactions. 
    We can walk around this issue by implementing a pool of 
``s, which we can save on the state. This will allows on 
restoring state to not only `recoverAndCommit` all pending transactions, but to 
abort all other unknown "lingering" transactions

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

Reply via email to