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-18079: consumer-config does not work with console-share-consumer #17925

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

FrankYang0529
Copy link
Member

The new Properties(consumerPropsFromFile)[0] does not honor the consumerPropsFromFile when it is viewed as a hash map. The KafkaShareConsumer[1] converts the properties to a map so the configured values are totally ignored.

[0]

Properties consumerProps = new Properties(consumerPropsFromFile);

[1]

this(propsToMap(properties), keyDeserializer, valueDeserializer);

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@github-actions github-actions bot added tools small Small PRs labels Nov 23, 2024
Copy link
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

LGTM

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. Looks good to me.

@FrankYang0529
Copy link
Member Author

The failed case is not related to this PR. It'll be fixed in #17924.

@chia7712 chia7712 merged commit 70babd5 into apache:trunk Nov 24, 2024
8 checks passed
@FrankYang0529 FrankYang0529 deleted the KAFKA-18079 branch November 24, 2024 12:26
chiacyu pushed a commit to chiacyu/kafka that referenced this pull request Nov 30, 2024
tedyu pushed a commit to tedyu/kafka that referenced this pull request Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants