Skip to content

Commit

Permalink
fixed JVM's config name corresponding to MaxWaitTime
Browse files Browse the repository at this point in the history
Signed-off-by: abhipranay <abhipranay.chauhan@gmail.com>
  • Loading branch information
abhipranay committed May 8, 2024
1 parent 0ab2bb7 commit d8e8510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ type Config struct {
// default is 250ms, since 0 causes the consumer to spin when no events are
// available. 100-500ms is a reasonable range for most cases. Kafka only
// supports precision up to milliseconds; nanoseconds will be truncated.
// Equivalent to the JVM's `fetch.wait.max.ms`.
// Equivalent to the JVM's `fetch.max.wait.ms`.
MaxWaitTime time.Duration

// The maximum amount of time the consumer expects a message takes to
Expand Down

0 comments on commit d8e8510

Please sign in to comment.