浏览代码

Fix HighWaterMarks() comment

Mathieu Payeur Levallois 9 年之前
父节点
当前提交
b0e729b8e9
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      consumer.go

+ 2 - 1
consumer.go

@@ -63,7 +63,8 @@ type Consumer interface {
 	// or OffsetOldest
 	ConsumePartition(topic string, partition int32, offset int64) (PartitionConsumer, error)
 
-	// HighWaterMarks returns the current high water marks for each topic and partitions
+	// HighWaterMarks returns the current high water marks for each topic and partition
+	// Consistency between partitions is not garanteed since high water marks are updated separately.
 	HighWaterMarks() map[string]map[int32]int64
 
 	// Close shuts down the consumer. It must be called after all child