Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Yuri Shkuro <[email protected]>
  • Loading branch information
apm-opentt and yurishkuro authored Jan 28, 2020
1 parent 009d609 commit 04da10c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/storage/kafka/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@ func (opt *Options) AddFlags(flagSet *flag.FlagSet) {
flagSet.Int(
configPrefix+suffixLingerMS,
defaultLingerMS,
"(experimental) Number of milliseconds to delay before sending records to Kafka. Higher value reduce request to Kafka but increase latency.",
"(experimental) Number of milliseconds to delay before sending records to Kafka. Higher value reduce request volume to Kafka but increase latency and the possibility of data loss in case of process restart.",
)
flagSet.Int(
configPrefix+suffixBatchSize,
defaultBatchSize,
"(experimental) Number of bytes to batch before sending records to Kafka. Higher value reduce request to Kafka but increase latency.",
"(experimental) Number of bytes to batch before sending records to Kafka. Higher value reduce request volume to Kafka but increase latency and the possibility of data loss in case of process restart.",
)
auth.AddFlags(configPrefix, flagSet)
}
Expand Down

0 comments on commit 04da10c

Please sign in to comment.