C# 클래스 Kafka.Client.Cluster.Cluster

The set of active brokers in the cluster
파일 보기 프로젝트 열기: precog/kafka 1 사용 예제들

공개 메소드들

메소드 설명
Cluster ( ) : System

Initializes a new instance of the Cluster class.

Cluster ( IEnumerable brokers ) : System

Initializes a new instance of the Cluster class.

Cluster ( IZooKeeperClient zkClient ) : System

Initializes a new instance of the Cluster class.

GetBroker ( int id ) : Broker

Gets broker with given ID

비공개 메소드들

메소드 설명
CreateBroker ( string node, string brokerInfoString ) : Broker

Creates a new Broker object out of a BrokerInfoString

메소드 상세

Cluster() 공개 메소드

Initializes a new instance of the Cluster class.
public Cluster ( ) : System
리턴 System

Cluster() 공개 메소드

Initializes a new instance of the Cluster class.
public Cluster ( IEnumerable brokers ) : System
brokers IEnumerable /// The set of active brokers. ///
리턴 System

Cluster() 공개 메소드

Initializes a new instance of the Cluster class.
public Cluster ( IZooKeeperClient zkClient ) : System
zkClient IZooKeeperClient IZooKeeperClient object
리턴 System

GetBroker() 공개 메소드

Gets broker with given ID
public GetBroker ( int id ) : Broker
id int /// The broker ID. ///
리턴 Broker