[
https://issues.apache.org/jira/browse/BEAM-13310?focusedWorklogId=736031&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-736031
]
ASF GitHub Bot logged work on BEAM-13310:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 03/Mar/22 14:51
Start Date: 03/Mar/22 14:51
Worklog Time Spent: 10m
Work Description: johnjcasey commented on pull request #16588:
URL: https://github.com/apache/beam/pull/16588#issuecomment-1058119427
Yes, it does.
John
On Wed, Mar 2, 2022 at 4:41 PM Lukasz Cwik ***@***.***> wrote:
> Does this fix the SDF KafkaIO commit issue?
>
> —
> Reply to this email directly, view it on GitHub
> <https://github.com/apache/beam/pull/16588#issuecomment-1057420303>, or
> unsubscribe
>
<https://github.com/notifications/unsubscribe-auth/AWXHCHCHMVZLQTVS537J433U57N75ANCNFSM5MQPEXSQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
>
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
>
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 736031)
Time Spent: 1h 40m (was: 1.5h)
> KafkaIO SDF does not commit offsets but KafkaIO UnboundedSource does
> --------------------------------------------------------------------
>
> Key: BEAM-13310
> URL: https://issues.apache.org/jira/browse/BEAM-13310
> Project: Beam
> Issue Type: Bug
> Components: io-java-kafka
> Reporter: Luke Cwik
> Assignee: John Casey
> Priority: P2
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> When run using SDF the pipeline does not commit offsets but when run using
> the SDF UnboundedSourceWrapper via *use_deprecated_read* experiment the
> pipeline does. This implies that the UnboundedSource version is able to
> correctly commit offsets but the pure SDF does not.
> Sample code:
> {code:java}
> final Pipeline p = Pipeline.create(options);
> p.apply(
> KafkaIO.<Long, String>read()
> .withBootstrapServers(options.getKafkaBroker())
> .withTopic(options.getTopic())
> .withConsumerConfigUpdates(
> Map.of(
> ConsumerConfig.GROUP_ID_CONFIG,
> options.getConsumerGroup(),
> CommonClientConfigs.SECURITY_PROTOCOL_CONFIG,
> "SASL_SSL",
> SaslConfigs.SASL_KERBEROS_SERVICE_NAME, "kafka",
> SaslConfigs.SASL_JAAS_CONFIG,
> "com.sun.security.auth.module.GssLoginModule required initiate=true;"))
> .withKeyDeserializer(LongDeserializer.class)
> .withValueDeserializer(StringDeserializer.class)
> .commitOffsetsInFinalize()
> .withoutMetadata());
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)