C# (CSharp) KafkaNet BrokerRouter - 31 exemples trouvés. Ce sont les exemples réels les mieux notés de KafkaNet.BrokerRouter extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
This class provides an abstraction from querying multiple Kafka servers for Metadata details and caching this data. All metadata queries are cached lazily. If metadata from a topic does not exist in cache it will be queried for using the default brokers provided in the constructor. Each Uri will be queried to get metadata information in turn until a response is received. It is recommended therefore to provide more than one Kafka Uri as this API will be able to to get metadata information even if one of the Kafka servers goes down. The metadata will stay in cache until an error condition is received indicating the metadata is out of data. This error can be in the form of a socket disconnect or an error code from a response indicating a broker no longer hosts a partition.