From dc0faf53ee49a55e666283eb856dcf27934b6717 Mon Sep 17 00:00:00 2001 From: Sergey Melekhin Date: Sat, 18 Feb 2023 01:13:27 +0700 Subject: [PATCH] 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. --- reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reader.go b/reader.go index 8e46c338f..fed5d1d4e 100644 --- a/reader.go +++ b/reader.go @@ -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