Skip to content

Commit dc0faf5

Browse files
authored
Change comment on MaxAttempts (#1077)
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.
1 parent bf8775e commit dc0faf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ type ReaderConfig struct {
510510
// non-transactional and committed records are visible.
511511
IsolationLevel IsolationLevel
512512

513-
// Limit of how many attempts will be made before delivering the error.
513+
// Limit of how many attempts to connect will be made before returning the error.
514514
//
515515
// The default is to try 3 times.
516516
MaxAttempts int

0 commit comments

Comments
 (0)