KafkaNet.BrokerRouter.RefreshAllTopicMetadata C# (CSharp) Method

RefreshAllTopicMetadata() public method

Force a call to the kafka servers to refresh metadata for all topics.
This method will ignore the cache and initiate a call to the kafka servers for all topics, updating the cache with the resulting metadata. Only call this method to force a metadata update. For all other queries use GetAllTopicMetadataFromLocalCache which uses cached values.
public RefreshAllTopicMetadata ( ) : Task
return Task
        public Task RefreshAllTopicMetadata()
        {
            return RefreshAllTopicMetadata(_kafkaOptions.RefreshMetadataTimeout);
        }

Same methods

BrokerRouter::RefreshAllTopicMetadata ( System.TimeSpan timeout ) : Task