Client.refreshMetadata

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.

class Client
void
refreshMetadata
()

Meta