You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Danny McCormick (Jira)" <ji...@apache.org> on 2022/06/04 21:56:00 UTC

[jira] [Commented] (BEAM-13353) KafkaIO should raise an error if both .withReadCommitted() and .commitOffsetsInFinalize() are used

    [ https://issues.apache.org/jira/browse/BEAM-13353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17549652#comment-17549652 ] 

Danny McCormick commented on BEAM-13353:
----------------------------------------

This issue has been migrated to https://github.com/apache/beam/issues/21227

> 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
>            Priority: P3
>
> 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.7#820007)