메소드 | 설명 | |
---|---|---|
ConfigBrokerPartitionInfo ( Kafka.Client.Cfg.ProducerConfiguration config ) : System |
Initializes a new instance of the ConfigBrokerPartitionInfo class.
|
|
Dispose ( ) : void |
Releasing unmanaged resources if any are used. Do nothing |
|
GetAllBrokerInfo ( ) : Broker>.IDictionary |
Gets a mapping from broker ID to the host and port for all brokers
|
|
GetBrokerInfo ( int brokerId ) : |
Gets the host and port information for the broker identified by the given broker ID
|
|
GetBrokerPartitionInfo ( string topic ) : SortedSet |
Gets a mapping from broker ID to partition IDs Partition ID would be allways 0 |
메소드 | 설명 | |
---|---|---|
InitializeBrokers ( ) : void |
Initialize list of brokers from configuration
|
public ConfigBrokerPartitionInfo ( Kafka.Client.Cfg.ProducerConfiguration config ) : System | ||
config | Kafka.Client.Cfg.ProducerConfiguration | The config. |
리턴 | System |
public GetBrokerInfo ( int brokerId ) : |
||
brokerId | int | The broker ID. |
리턴 |
public GetBrokerPartitionInfo ( string topic ) : SortedSet |
||
topic | string | The topic for which this information is to be returned |
리턴 | SortedSet |