-
Notifications
You must be signed in to change notification settings - Fork 475
Bump rdkafka to fix some issue with kafka 4.X.X and kraft #5841
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
Conversation
Thanks a lot @nico34638! Did you test it on your environment? |
Yes, I tested it with an aws msk 4.0.0 kraft cluster and the connection works fine. |
Great. @rdettai can you review? |
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.
see clippy
error[E0308]: mismatched types
--> quickwit-indexing/src/source/kafka_source.rs:856:23
|
856 | .map(|(partition, offset)| (id, partition, offset))
| ^^^^^^^^^^^^^^^^^^^
| |
| expected `Delivery`, found `(_, _)`
| expected due to this
|
= note: expected struct `rdkafka::producer::future_producer::Delivery`
found tuple `(_, _)`
I've added a fix |
@@ -853,7 +853,7 @@ mod kafka_broker_tests { | |||
Duration::from_secs(1), | |||
) | |||
.await | |||
.map(|(partition, offset)| (id, partition, offset)) | |||
.map(|delivery| (id, delivery.partition, delivery.offset)) |
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.
Now it's fmt that isn't happy because of the trailing space. You can run make fix
as advised in the contribution guide to prevent these issues. Thanks!
I've added a fix, sorry |
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.
I didn't test with various auth configurations, but integ tests work (see https://github.com/quickwit-oss/quickwit/actions/runs/16339696703/job/46159034682)
Description
Bump rdkafka to fix some issue with kafka 4.X.X and kraft