Method | Description | |
---|---|---|
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 Consumer ( String brokerAddress ) : System | ||
brokerAddress | String | |
return | System |
public OpenStream ( String topic ) : |
||
topic | String | |
return |
public OpenStreams ( String topic, |
||
topic | String | |
numberOfStreams | ||
return | List |