- addNewConsumervoid addNewConsumer(Consumer consumer) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- addNewProducervoid addNewProducer(Producer producer) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- addToBrokerlessvoid addToBrokerless(Queue queue, bool notify) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- connectionLostvoid connectionLost(BrokerConnection conn) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getPartitionsint[] getPartitions(string topic) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- getTopicsstring[] getTopics() 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- refreshMetadatavoid 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. 
- removeConsumervoid removeConsumer(Consumer consumer) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
The client acts as a router between brokers, consumers and producers. Consumers and producers connect to the client and it handles connections to the brokers for them. It transparently handles connection failures, leader switches and translates topic/partitions to respective broker connections.