프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
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 |