C# 클래스 Kafka.Client.Consumers.PartitionTopicInfo

파일 보기 프로젝트 열기: precog/kafka 1 사용 예제들

공개 메소드들

메소드 설명
Add ( Kafka.Client.Messages.BufferedMessageSet messages, long fetchOffset ) : int
Consumed ( int messageSize ) : void

Records the given number of bytes as having been consumed

GetConsumeOffset ( ) : long
GetFetchOffset ( ) : long
PartitionTopicInfo ( string topic, int brokerId, Partition partition, BlockingCollection chunkQueue, long consumedOffset, long fetchedOffset, int fetchSize ) : System.Collections.Concurrent

Initializes a new instance of the PartitionTopicInfo class.

ResetConsumeOffset ( long newConsumeOffset ) : void
ResetFetchOffset ( long newFetchOffset ) : void
ToString ( ) : string

메소드 상세

Add() 공개 메소드

public Add ( Kafka.Client.Messages.BufferedMessageSet messages, long fetchOffset ) : int
messages Kafka.Client.Messages.BufferedMessageSet
fetchOffset long
리턴 int

Consumed() 공개 메소드

Records the given number of bytes as having been consumed
public Consumed ( int messageSize ) : void
messageSize int /// The message size. ///
리턴 void

GetConsumeOffset() 공개 메소드

public GetConsumeOffset ( ) : long
리턴 long

GetFetchOffset() 공개 메소드

public GetFetchOffset ( ) : long
리턴 long

PartitionTopicInfo() 공개 메소드

Initializes a new instance of the PartitionTopicInfo class.
public PartitionTopicInfo ( string topic, int brokerId, Partition partition, BlockingCollection chunkQueue, long consumedOffset, long fetchedOffset, int fetchSize ) : System.Collections.Concurrent
topic string /// The topic. ///
brokerId int /// The broker ID. ///
partition Partition /// The broker's partition. ///
chunkQueue BlockingCollection /// The chunk queue. ///
consumedOffset long /// The consumed offset value. ///
fetchedOffset long /// The fetched offset value. ///
fetchSize int /// The fetch size. ///
리턴 System.Collections.Concurrent

ResetConsumeOffset() 공개 메소드

public ResetConsumeOffset ( long newConsumeOffset ) : void
newConsumeOffset long
리턴 void

ResetFetchOffset() 공개 메소드

public ResetFetchOffset ( long newFetchOffset ) : void
newFetchOffset long
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string