Skip to content

Commit

Permalink
Fix fetchMaxBytes in example to match the default (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperlink committed Apr 14, 2016
1 parent 96496b6 commit 2467b3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ producer.createTopics(['t'], function (err, data) {});// Simply omit 2nd arg
// This is the minimum number of bytes of messages that must be available to give a response, default 1 byte
fetchMinBytes: 1,
// The maximum bytes to include in the message set for this partition. This helps bound the size of the response.
fetchMaxBytes: 1024 * 10,
fetchMaxBytes: 1024 * 1024,
// If set true, consumer will fetch message from the given offset in the payloads
fromOffset: false,
// If set to 'buffer', values will be returned as raw buffer objects.
Expand Down Expand Up @@ -392,7 +392,7 @@ consumer.close(cb); //force is disabled
// This is the minimum number of bytes of messages that must be available to give a response, default 1 byte
fetchMinBytes: 1,
// The maximum bytes to include in the message set for this partition. This helps bound the size of the response.
fetchMaxBytes: 1024 * 10,
fetchMaxBytes: 1024 * 1024,
// If set true, consumer will fetch message from the given offset in the payloads
fromOffset: false,
// If set to 'buffer', values will be returned as raw buffer objects.
Expand Down

0 comments on commit 2467b3b

Please sign in to comment.