You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting the issue! This is probably because the correct termination sequence for librdkafka requires to destroy the messages before the consumer or the client are destroyed. This ordering is not currently enforced in rust rdkafka.
The right approach here is probably to have the lifetime of messages bound to the one of the consumer. I hope it won't make the API much more complicated.
If you try to collect messages and use them after dropping the consumer the thread hangs indefinitely.
This test (in
produce_consume_base_test.rs
) reproduces the issue:The text was updated successfully, but these errors were encountered: