Method | Description | |
---|---|---|
Consumer ( Kafka.Client.Cfg.ConsumerConfiguration config ) : System |
Initializes a new instance of the Consumer class.
|
|
Consumer ( Kafka.Client.Cfg.ConsumerConfiguration config, string host, int port ) : System |
Initializes a new instance of the Consumer class.
|
|
Fetch ( |
Fetch a set of messages from a topic. Offset is passed in on every request, allowing the user to maintain this metadata however they choose. |
|
GetOffsetsBefore ( |
Gets a list of valid offsets (up to maxSize) before the given time.
|
|
MultiFetch ( |
Combine multiple fetch requests in one call. Offset is passed in on every request, allowing the user to maintain this metadata however they choose. |
public Consumer ( Kafka.Client.Cfg.ConsumerConfiguration config ) : System | ||
config | Kafka.Client.Cfg.ConsumerConfiguration | /// The consumer configuration. /// |
return | System |
public Consumer ( Kafka.Client.Cfg.ConsumerConfiguration config, string host, int port ) : System | ||
config | Kafka.Client.Cfg.ConsumerConfiguration | /// The consumer configuration. /// |
host | string | |
port | int | |
return | System |
public Fetch ( |
||
request | /// Specifies the topic name, topic partition, starting byte offset, maximum bytes to be fetched. /// | |
return | Kafka.Client.Messages.BufferedMessageSet |
public GetOffsetsBefore ( |
||
request | /// The offset request. /// | |
return | IList |
public MultiFetch ( |
||
request | /// The list of fetch requests. /// | |
return | IList |