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

[bug-kafka-consumer] set the passedin rackid in consumer config #5374

Merged
merged 1 commit into from
Apr 20, 2024

Conversation

sappusaketh
Copy link
Contributor

Which problem is this PR solving?

RackID option was exposed in this PR but it was not properly parsed from passed flags and set on Sarama client

Description of the changes

  • configures Parsed RackID on ConsumerConfig
  • Fix failing lint issues

How was this change tested?

  • Tested by printing the config passed to sarama client

Checklist

@sappusaketh sappusaketh requested a review from a team as a code owner April 19, 2024 22:45
@sappusaketh sappusaketh requested a review from albertteoh April 19, 2024 22:45
Copy link

codecov bot commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.21%. Comparing base (5434892) to head (0daf519).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5374      +/-   ##
==========================================
+ Coverage   95.06%   95.21%   +0.14%     
==========================================
  Files         343      343              
  Lines       16781    16782       +1     
==========================================
+ Hits        15953    15979      +26     
+ Misses        631      605      -26     
- Partials      197      198       +1     
Flag Coverage Δ
badger 10.51% <0.00%> (-0.01%) ⬇️
cassandra-3.x 18.42% <50.00%> (-0.01%) ⬇️
cassandra-4.x 18.42% <50.00%> (-0.01%) ⬇️
elasticsearch-5.x 20.88% <0.00%> (?)
elasticsearch-6.x 20.86% <0.00%> (?)
elasticsearch-7.x 20.93% <0.00%> (?)
elasticsearch-8.x 21.12% <0.00%> (?)
grpc 14.59% <0.00%> (-0.01%) ⬇️
kafka 10.18% <50.00%> (+0.01%) ⬆️
opensearch-1.x 20.97% <0.00%> (-0.02%) ⬇️
opensearch-2.x 20.98% <0.00%> (+<0.01%) ⬆️
unittests 91.72% <50.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yurishkuro yurishkuro merged commit 466e105 into jaegertracing:main Apr 20, 2024
37 of 38 checks passed
varshith257 pushed a commit to varshith257/jaeger that referenced this pull request May 3, 2024
## Which problem is this PR solving?
RackID option was exposed in
[this](jaegertracing#3395) PR but it was
not properly parsed from passed flags and set on Sarama client

## Description of the changes
- configures Parsed RackID on ConsumerConfig
- Fix failing lint issues

## How was this change tested?
- Tested by printing the config passed to sarama client

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `yarn lint` and `yarn test`

Signed-off-by: Saketh kappala <[email protected]>
Signed-off-by: Vamshi Maskuri <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants