Method | Description | |
---|---|---|
Consume ( |
Returns a blocking enumerable of messages received from Kafka.
|
|
Consumer ( |
||
Dispose ( ) : void | ||
GetOffsetPosition ( ) : List |
Get the current running position (offset) for all consuming partition. Will only return data if the consumer is actively being consumed. |
|
GetTopicFromCache ( string topic ) : KafkaNet.Protocol.Topic | ||
GetTopicOffsetAsync ( string topic, int maxOffsets = 2, int time = -1 ) : Task
|
||
SetOffsetPosition ( ) : void |
Force reset the offset position for a specific partition to a specific offset value.
|
Method | Description | |
---|---|---|
ConsumeTopicPartitionAsync ( string topic, int partitionId ) : Task | ||
EnsurePartitionPollingThreads ( ) : void | ||
FixOffsetOutOfRangeExceptionAsync ( Fetch request ) : void | ||
HandleResponseErrors ( Fetch request, FetchResponse response ) : void |
public Consume ( |
||
cancellationToken | ||
return | IEnumerable |
public Consumer ( |
||
options | ||
return | KafkaNet.Model |
public GetTopicFromCache ( string topic ) : KafkaNet.Protocol.Topic | ||
topic | string | |
return | KafkaNet.Protocol.Topic |
public GetTopicOffsetAsync ( string topic, int maxOffsets = 2, int time = -1 ) : Task
|
||
topic | string | |
maxOffsets | int | |
time | int | |
return | Task
|