C# 클래스 Kafka.Client.Consumers.Fetcher

Background thread that fetches data from a set of servers
상속: IDisposable
파일 보기 프로젝트 열기: precog/kafka 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
Fetcher ( Kafka.Client.Cfg.ConsumerConfiguration config, IZooKeeperClient zkClient ) : System

Initializes a new instance of the Fetcher class.

InitConnections ( IEnumerable topicInfos, Cluster cluster, IEnumerable queuesToBeCleared ) : void

Opens connections to brokers.

비공개 메소드들

메소드 설명
EnsuresNotDisposed ( ) : void

Ensures that object was not disposed

Shutdown ( ) : void

Shuts down all fetch threads

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Fetcher() 공개 메소드

Initializes a new instance of the Fetcher class.
public Fetcher ( Kafka.Client.Cfg.ConsumerConfiguration config, IZooKeeperClient zkClient ) : System
config Kafka.Client.Cfg.ConsumerConfiguration /// The consumer configuration. ///
zkClient IZooKeeperClient /// The wrapper above ZooKeeper client. ///
리턴 System

InitConnections() 공개 메소드

Opens connections to brokers.
public InitConnections ( IEnumerable topicInfos, Cluster cluster, IEnumerable queuesToBeCleared ) : void
topicInfos IEnumerable /// The topic infos. ///
cluster Kafka.Client.Cluster.Cluster /// The cluster. ///
queuesToBeCleared IEnumerable /// The queues to be cleared. ///
리턴 void