浏览代码

Merge pull request #524 from jeremyschlatter/patch-1

fix typo
Willem van Bergen 9 年之前
父节点
当前提交
690271742c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      consumer.go

+ 1 - 1
consumer.go

@@ -51,7 +51,7 @@ type Consumer interface {
 	Topics() ([]string, error)
 
 	// Partitions returns the sorted list of all partition IDs for the given topic.
-	// This method is the same as Client.Pertitions(), and is provided for convenience.
+	// This method is the same as Client.Partitions(), and is provided for convenience.
 	Partitions(topic string) ([]int32, error)
 
 	// ConsumePartition creates a PartitionConsumer on the given topic/partition with the given offset. It will