Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
ConsumeTopicPartitionAsync ( string topic, int partitionId ) : Task | ||
EnsurePartitionPollingThreads ( ) : void | ||
FixOffsetOutOfRangeExceptionAsync ( Fetch request ) : void | ||
HandleResponseErrors ( Fetch request, FetchResponse response ) : void |
public Consume ( |
||
cancellationToken | ||
Результат | IEnumerable |
public Consumer ( |
||
options | ||
Результат | KafkaNet.Model |
public GetTopicFromCache ( string topic ) : KafkaNet.Protocol.Topic | ||
topic | string | |
Результат | KafkaNet.Protocol.Topic |
public GetTopicOffsetAsync ( string topic, int maxOffsets = 2, int time = -1 ) : Task
|
||
topic | string | |
maxOffsets | int | |
time | int | |
Результат | Task
|