Procházet zdrojové kódy

Fix a few README typos

Evan Huus před 11 roky
rodič
revize
9fd83b3752

+ 1 - 1
examples/README.md

@@ -2,7 +2,7 @@
 
 
 This folder contains example applications to demonstrate the use of Sarama. For code snippet examples on how to use the different types in Sarama, see [Sarams's API documentation on godoc.org](https://godoc.org/github.com/Shopify/sarama)
 This folder contains example applications to demonstrate the use of Sarama. For code snippet examples on how to use the different types in Sarama, see [Sarams's API documentation on godoc.org](https://godoc.org/github.com/Shopify/sarama)
 
 
-In these examples, we use `github.com/Shopify/sarama` as import path. We do this to ensure all the examples are up to date with the latest changes in Sarama. For your own applications, you may want to use `gopkg.in/Shopify/sarama.v1` to lock into a stabnle API version.
+In these examples, we use `github.com/Shopify/sarama` as import path. We do this to ensure all the examples are up to date with the latest changes in Sarama. For your own applications, you may want to use `gopkg.in/Shopify/sarama.v1` to lock into a stable API version.
 
 
 #### HTTP server
 #### HTTP server
 
 

+ 1 - 1
tools/README.md

@@ -4,4 +4,4 @@ This folder contains applications that are useful for exploration of your Kafka
 Some of these tools mirror tools that ship with Kafka, but these tools won't require installing the JVM to function.
 Some of these tools mirror tools that ship with Kafka, but these tools won't require installing the JVM to function.
 
 
 - [kafka-console-producer](./kafka-console-producer): a command line tool to produce a single message to your Kafka custer.
 - [kafka-console-producer](./kafka-console-producer): a command line tool to produce a single message to your Kafka custer.
-- [kafka-console-partitionconsumer](./kafka-console-producer): a command line tool to consume a single partition fo a topic on your Kafka cluster.
+- [kafka-console-partitionconsumer](./kafka-console-producer): a command line tool to consume a single partition of a topic on your Kafka cluster.

+ 4 - 4
tools/kafka-console-partitionconsumer/README.md

@@ -14,12 +14,12 @@ on the standard output.
 
 
     # It will pick up a KAFKA_PEERS environment variable
     # It will pick up a KAFKA_PEERS environment variable
     export KAFKA_PEERS=kafka1:9092,kafka2:9092,kafka3:9092
     export KAFKA_PEERS=kafka1:9092,kafka2:9092,kafka3:9092
-    kafka-console-producer -topic=test -partition=4
+    kafka-console-partitionconsumer -topic=test -partition=4
 
 
     # You can specify the offset you want to start at. It can be either
     # You can specify the offset you want to start at. It can be either
     # `oldest`, `newest`, or a specific offset number
     # `oldest`, `newest`, or a specific offset number
-    kafka-console-producer -topic=test -partition=3 -offset=oldest
-    kafka-console-producer -topic=test -partition=2 -offset=1337
+    kafka-console-partitionconsumer -topic=test -partition=3 -offset=oldest
+    kafka-console-partitionconsumer -topic=test -partition=2 -offset=1337
 
 
     # Display all command line options
     # Display all command line options
-    kafka-console-producer -help
+    kafka-console-partitionconsumer -help