You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Go complains that LeaderNotAvailable is not found. You need to change the line to kafka.LeaderNotAvailable for it to work. An example from my learning project here.
If it is okay, I would like to open PR with a fix. Thank you.
Kafka Version
Not applicable
To Reproduce
If you copy the code directly, it will complain that LeaderNotAvailable does not exist.
Expected Behavior
As a new user, I expect to copy an example and it should work (at least compile)
Observed Behavior
Not Applicable
Additional Context
Nothing
The text was updated successfully, but these errors were encountered:
Describe the bug
An example of creating a missing topic using Writer in README (link) is using this snippet to check for retriable errors:
Go complains that LeaderNotAvailable is not found. You need to change the line to
kafka.LeaderNotAvailable
for it to work. An example from my learning project here.If it is okay, I would like to open PR with a fix. Thank you.
Kafka Version
Not applicable
To Reproduce
If you copy the code directly, it will complain that LeaderNotAvailable does not exist.
Expected Behavior
As a new user, I expect to copy an example and it should work (at least compile)
Observed Behavior
Not Applicable
Additional Context
Nothing
The text was updated successfully, but these errors were encountered: