Свойство | Тип | Описание | |
---|---|---|---|
MaxNRetries | int |
Метод | Описание | |
---|---|---|
AutoCommit ( ) : void | ||
CommitOffsets ( ) : void |
Commits the offsets of all messages consumed so far.
|
|
CreateMessageStreams ( int>.IDictionary |
Creates a list of message streams for each topic. Explicitly triggers load balancing for this consumer |
|
ZookeeperConsumerConnector ( Kafka.Client.Cfg.ConsumerConfiguration config, bool enableFetcher ) : System |
Initializes a new instance of the ZookeeperConsumerConnector class.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
ConnectZk ( ) : void | ||
Consume ( int>.IDictionary |
||
CreateFetcher ( ) : void | ||
EnsuresNotDisposed ( ) : void |
Ensures that object was not disposed
|
|
RegisterConsumerInZk ( |
||
SendShutdownToAllQueues ( ) : void |
public CreateMessageStreams ( int>.IDictionary |
||
topicCountDict | int>.IDictionary | /// The map of topic on number of streams /// |
Результат | IList |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public ZookeeperConsumerConnector ( Kafka.Client.Cfg.ConsumerConfiguration config, bool enableFetcher ) : System | ||
config | Kafka.Client.Cfg.ConsumerConfiguration | /// The consumer configuration. At the minimum, need to specify the group ID /// of the consumer and the ZooKeeper connection string. /// |
enableFetcher | bool | /// Indicates whether fetchers should be enabled /// |
Результат | System |