Skip to content

Commit

Permalink
doc: update version and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
German Ramos Garcia committed Jun 9, 2016
1 parent f3c615c commit 591a045
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 4 deletions.
34 changes: 31 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
### kafka-console-producer

Golang kafka-console-producer using sarama.
kafka-console-producer implemented in golang and using [sarama](https://github.com/Shopify/sarama) driver.

It produces messages reading from stdin
## Features

- Works with Apache Kafka >= 0.8
- Statically compiled. No dependencies. It run on every linux distribution.
- Just one binary file of ~ 6 Mb
- It produces messages reading from stdin
- It prints state messages in stderr
- Very easy to configure trough environment variables
- Auto discover kafka peers from DNS name
- Waits for kafka to be ready
- Auto reconnect

## Usage

```
./main
./kafka-console-producer
```

## Configuration
Expand All @@ -18,3 +28,21 @@ Use environment variables
- KAFKA_PORT, "9092", Port to connect to input Kafka peers
- TOPIC, "kafka-console-producer", The topic to consume
- VERBOSE, "false, Set to `true` if you want verbose output

## Download

https://github.com/germanramos/kafka-console-producer/releases/download/v0.3.0/kafka-console-producer

## Run Example

```
KAFKA_SERVICE=192.168.1.45 TOPIC=foo ./kafka-console-consumer
```

## Related work

https://github.com/germanramos/kafka-console-consumer

## License

MIT - German Ramos
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0
0.3.0

0 comments on commit 591a045

Please sign in to comment.