Méthode | 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 | |
Résultat | System |
public OpenStream ( String topic ) : |
||
topic | String | |
Résultat |
public OpenStreams ( String topic, |
||
topic | String | |
numberOfStreams | ||
Résultat | List |