Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-17985: Set share.auto.offset.reset to earliest in ShareRoundTripWorker #17758

Merged
merged 4 commits into from
Nov 12, 2024

Conversation

ShivsundarR
Copy link
Contributor

What
After the share.auto.offset.reset dynamic config was added for share groups in this commit - 9db5ed0, we needed to update this config value to "earliest" in ShareRoundTripWorker when it creates the consumer.

@github-actions github-actions bot added tools build Gradle build or GitHub Actions small Small PRs labels Nov 11, 2024
@ShivsundarR ShivsundarR changed the title KAFKA-17985: Set share.auto.offset.reset to earliest KAFKA-17985: Set share.auto.offset.reset to earliest in ShareRoundTripWorker Nov 12, 2024
Copy link
Member

@AndrewJSchofield AndrewJSchofield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

import java.util.Properties;
import java.util.concurrent.TimeUnit;

import static org.apache.kafka.trogdor.common.WorkerUtils.addConfigsToProperties;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally, I'd prefer to see WorkerUtils.addConfigsToProperties and WorkerUtils.createAdminClient in the code, rather than using these static imports.

Copy link
Contributor

@omkreddy omkreddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShivsundarR Thanks for the PR. LGTM

@omkreddy omkreddy merged commit 6cf4081 into apache:trunk Nov 12, 2024
8 checks passed
chiacyu pushed a commit to chiacyu/kafka that referenced this pull request Nov 30, 2024
…pWorker (apache#17758)

After the share.auto.offset.reset dynamic config was added for share groups in this commit - 9db5ed0, we needed to update this config value to "earliest" in ShareRoundTripWorker when it creates the consumer.

Reviewers: Andrew Schofield <[email protected]>, Manikumar Reddy <[email protected]>
tedyu pushed a commit to tedyu/kafka that referenced this pull request Jan 6, 2025
…pWorker (apache#17758)

After the share.auto.offset.reset dynamic config was added for share groups in this commit - 9db5ed0, we needed to update this config value to "earliest" in ShareRoundTripWorker when it creates the consumer.

Reviewers: Andrew Schofield <[email protected]>, Manikumar Reddy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Gradle build or GitHub Actions ci-approved KIP-932 Queues for Kafka small Small PRs tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants