-
Notifications
You must be signed in to change notification settings - Fork 713
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
Fixed TracingKafkaClientSupplier to properly override getAdmin #1312
Fixed TracingKafkaClientSupplier to properly override getAdmin #1312
Conversation
getAdminClient has been deprecated in favor of getAdmin. Calls to getAdminClient are throwing an UnsupportedOperationException in kafka-streams version < 3.0.0, while calls to getAdmin are also throwing an UnsupportedOperationException in kafka-streams version >= 3.0.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @TYsewyn
@TYsewyn could you update the license headers and push again? |
@TYsewyn I think jeqo meant to do so on the modified file only. Could you please drop the last too commits and update only the header of the modified file? |
Sure, I can do that. Can any of you fix the other license headers in the main branch? |
d57ca26
to
ee913bc
Compare
@TYsewyn could you please open a PR with header updates for the POMs? |
@TYsewyn do you mind rebasing? |
Could we exhibit a failing test case? |
Just following up. Do we know when this is going to be merged (and eventually released)? |
Somehow this comment got through: Quick question: will this work with both <3.0.0 and >=3.0.0? |
Yes, it should.
|
Ideally I'd like to exhibit a test case where we use <3.0.0 and >3.0.0 (just to make sure we don't break the implementation in further changes) but I guess that can backfilled later. I will merge as it is. If you fill so, a unit test as I described would be good. |
I believe that would be quite difficult to achieve since you would need to have both versions on your classpath at the same time. Unless you create separate submodules for Kafka integration tests. |
New release is out: https://github.com/openzipkin/brave/releases/tag/5.13.6
That sounds reasonable. Any input @jeqo? |
getAdminClient
has been deprecated in favor ofgetAdmin
.Calls to
getAdminClient
are throwing anUnsupportedOperationException
in kafka-streams version < 3.0.0, while calls togetAdmin
are also throwing anUnsupportedOperationException
in kafka-streams version >= 3.0.0Fixes #1316