We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5079920 commit e962c8cCopy full SHA for e962c8c
src/consumer/base_consumer.rs
@@ -713,7 +713,10 @@ where
713
topic: Option<&str>,
714
timeout: T,
715
) -> KafkaResult<Metadata> {
716
- self.client.fetch_metadata(topic, timeout)
+ let to = timeout.into();
717
+ // force credential retrieval
718
+ self.client.poll_event(&self.queue, to);
719
+ self.client.fetch_metadata(topic, to)
720
}
721
722
fn fetch_watermarks<T: Into<Timeout>>(
0 commit comments