Skip to content

Commit

Permalink
Fixes #470 (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperlink authored Oct 3, 2016
1 parent e0db2be commit 68b1bc7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Kafka-node is a Node.js client with Zookeeper integration for Apache Kafka 0.8.1
- [FailedToRebalanceConsumerError: Exception: NODE_EXISTS[-110]](#failedtorebalanceconsumererror-exception-node_exists-110)
- [HighLevelConsumer does not consume on all partitions](#highlevelconsumer-does-not-consume-on-all-partitions)
- [How to throttle messages / control the concurrency of processing messages](#how-to-throttle-messages--control-the-concurrency-of-processing-messages)
- [How do I consume binary data?](#how-do-i-consume-binary-data)
- [Running Tests](#running-tests)
- [LICENSE - "MIT"](#license---mit)

Expand Down Expand Up @@ -704,6 +705,12 @@ Reference to issue [#339](https://github.com/SOHU-Co/kafka-node/issues/339)
2. Set the `queue.drain` to resume the consumer
3. The handler for consumer's `message` event pauses the consumer and pushes the message to the queue.

## How do I consume binary data?

In the consumer set the `encoding` option to `buffer` there not settings on producers needed for this.

Reference to issue [#470](https://github.com/SOHU-Co/kafka-node/issues/470)

# Running Tests

### Install Docker
Expand Down

0 comments on commit 68b1bc7

Please sign in to comment.