Skip to content

Commit

Permalink
Don't do math in TOML
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Irvine committed Apr 11, 2017
1 parent 907cd7b commit b05537a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/inputs/kafka_consumer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ from the same topic in parallel.

## Maximum length of a message to consume, in bytes (default 0/unlimited);
## larger messages are dropped
max_message_len = 64 * 1024
max_message_len = 65536
```

## Testing
Expand Down
2 changes: 1 addition & 1 deletion plugins/inputs/kafka_consumer/kafka_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var sampleConfig = `
## Maximum length of a message to consume, in bytes (default 0/unlimited);
## larger messages are dropped
max_message_len = 64 * 1024
max_message_len = 65536
`

func (k *Kafka) SampleConfig() string {
Expand Down

0 comments on commit b05537a

Please sign in to comment.