[
https://issues.apache.org/jira/browse/BEAM-13353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Luke Cwik updated BEAM-13353:
-----------------------------
Description:
Read committed tells KafkaIO to only read messages that are already committed
which means that committing offsets in finalize is a no-op.
Users should be using one or the other and is similar to making sure that
either auto commit is enabled in the reader of KafkaIO does the committing
which we have error checking for already.
> KafkaIO should raise an error if both .withReadCommitted() and
> .commitOffsetsInFinalize() are used
> --------------------------------------------------------------------------------------------------
>
> Key: BEAM-13353
> URL: https://issues.apache.org/jira/browse/BEAM-13353
> Project: Beam
> Issue Type: Improvement
> Components: io-java-kafka
> Reporter: Luke Cwik
> Assignee: Luke Cwik
> Priority: P2
>
> Read committed tells KafkaIO to only read messages that are already committed
> which means that committing offsets in finalize is a no-op.
> Users should be using one or the other and is similar to making sure that
> either auto commit is enabled in the reader of KafkaIO does the committing
> which we have error checking for already.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)