C# 클래스 Brod.Consumers.Consumer

상속: IDisposable
파일 보기 프로젝트 열기: paralect/brod 1 사용 예제들

공개 메소드들

메소드 설명
Consumer ( String brokerAddress ) : System
Dispose ( ) : void
OpenStream ( String topic ) : ConsumerMessageStream

Open single stream for specified topic

OpenStreams ( String topic, Int32 numberOfStreams ) : List

Open numberOfStreams streams for specified topic. Paritions will be assigned to each stream in such a way, that each stream will consume roughly the same number of partitions.

메소드 상세

Consumer() 공개 메소드

public Consumer ( String brokerAddress ) : System
brokerAddress String
리턴 System

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

OpenStream() 공개 메소드

Open single stream for specified topic
public OpenStream ( String topic ) : ConsumerMessageStream
topic String
리턴 ConsumerMessageStream

OpenStreams() 공개 메소드

Open numberOfStreams streams for specified topic. Paritions will be assigned to each stream in such a way, that each stream will consume roughly the same number of partitions.
public OpenStreams ( String topic, Int32 numberOfStreams ) : List
topic String
numberOfStreams System.Int32
리턴 List