메소드 | 설명 | |
---|---|---|
Consumer ( String brokerAddress ) : System | ||
Dispose ( ) : void | ||
OpenStream ( String topic ) : |
Open single stream for specified topic
|
|
OpenStreams ( String topic, |
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 OpenStream ( String topic ) : |
||
topic | String | |
리턴 |
public OpenStreams ( String topic, |
||
topic | String | |
numberOfStreams | ||
리턴 | List |