C# 클래스 KafkaNet.MetadataQueries

This class provides a set of common queries that are useful for both the Consumer and Producer classes.
상속: IMetadataQueries
파일 보기 프로젝트 열기: gigya/KafkaNetClient 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
GetTopicFromCache ( string topic ) : KafkaNet.Protocol.Topic

Get metadata on the given topic.

GetTopicOffsetAsync ( string topic, int maxOffsets = 2, int time = -1 ) : Task>

Get offsets for each partition from a given topic.

MetadataQueries ( IBrokerRouter brokerRouter ) : KafkaNet.Protocol

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetTopicFromCache() 공개 메소드

Get metadata on the given topic.
public GetTopicFromCache ( string topic ) : KafkaNet.Protocol.Topic
topic string The metadata on the requested topic.
리턴 KafkaNet.Protocol.Topic

GetTopicOffsetAsync() 공개 메소드

Get offsets for each partition from a given topic.
public GetTopicOffsetAsync ( string topic, int maxOffsets = 2, int time = -1 ) : Task>
topic string Name of the topic to get offset information from.
maxOffsets int
time int
리턴 Task>

MetadataQueries() 공개 메소드

public MetadataQueries ( IBrokerRouter brokerRouter ) : KafkaNet.Protocol
brokerRouter IBrokerRouter
리턴 KafkaNet.Protocol