Refreshes the metadata and stores it in the cache. Call it before using the getTopics/getPartitions to get the most recent metadata. Metadata is also refreshed internally on the first use and on each consumer/producer failure.
See Implementation
Refreshes the metadata and stores it in the cache. Call it before using the getTopics/getPartitions to get the most recent metadata. Metadata is also refreshed internally on the first use and on each consumer/producer failure.