From 01d71fed9e6d96778f8a9b42f681562e2b666e3b Mon Sep 17 00:00:00 2001 From: Willem van Bergen Date: Thu, 30 Apr 2015 20:18:31 -0400 Subject: [PATCH] Fix tool installation instructions in READMEs --- tools/README.md | 2 ++ tools/kafka-console-partitionconsumer/README.md | 2 +- tools/kafka-console-producer/README.md | 2 +- tools/kafka-console-topicconsumer/README.md | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tools/README.md b/tools/README.md index 4596c39ff..9316fc94a 100644 --- a/tools/README.md +++ b/tools/README.md @@ -6,3 +6,5 @@ Some of these tools mirror tools that ship with Kafka, but these tools won't req - [kafka-console-producer](./kafka-console-producer): a command line tool to produce a single message to your Kafka custer. - [kafka-console-partitionconsumer](./kafka-console-partitionconsumer): a command line tool to consume a single partition of a topic on your Kafka cluster. - [kafka-console-topicconsumer](./kafka-console-topicconsumer): a command line tool to consume all partition of a topic on your Kafka cluster. + +To install all tools, run `go get github.com/Shopify/sarama/tools/...` diff --git a/tools/kafka-console-partitionconsumer/README.md b/tools/kafka-console-partitionconsumer/README.md index 7f798be57..58e1647de 100644 --- a/tools/kafka-console-partitionconsumer/README.md +++ b/tools/kafka-console-partitionconsumer/README.md @@ -5,7 +5,7 @@ on the standard output. ### Installation - go install github.com/Shopify/sarama/tools/kafka-console-partitionconsumer + go get github.com/Shopify/sarama/tools/kafka-console-partitionconsumer ### Usage diff --git a/tools/kafka-console-producer/README.md b/tools/kafka-console-producer/README.md index 205c9b4bd..6b3a65f21 100644 --- a/tools/kafka-console-producer/README.md +++ b/tools/kafka-console-producer/README.md @@ -4,7 +4,7 @@ A simple command line tool to produce a single message to Kafka. ### Installation - go install github.com/Shopify/sarama/tools/kafka-console-producer + go get github.com/Shopify/sarama/tools/kafka-console-producer ### Usage diff --git a/tools/kafka-console-topicconsumer/README.md b/tools/kafka-console-topicconsumer/README.md index 337e0a8d7..5a6758956 100644 --- a/tools/kafka-console-topicconsumer/README.md +++ b/tools/kafka-console-topicconsumer/README.md @@ -5,7 +5,7 @@ on the standard output. ### Installation - go install github.com/Shopify/sarama/tools/kafka-console-topicconsumer + go get github.com/Shopify/sarama/tools/kafka-console-topicconsumer ### Usage