Skip to content

Commit

Permalink
Change comment on MaxAttempts (#1077)
Browse files Browse the repository at this point in the history
Comment was confusing: word "deliver" in context of a kafka driver can be understood like "deliver over network", and it did not specify what exactly will be attempted.
  • Loading branch information
C-Pro authored Feb 17, 2023
1 parent bf8775e commit dc0faf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ type ReaderConfig struct {
// non-transactional and committed records are visible.
IsolationLevel IsolationLevel

// Limit of how many attempts will be made before delivering the error.
// Limit of how many attempts to connect will be made before returning the error.
//
// The default is to try 3 times.
MaxAttempts int
Expand Down

0 comments on commit dc0faf5

Please sign in to comment.