-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(examples): sync exactly_once and consumergroup
- ensure both examples handle sarama.ErrClosedConsumerGroup in the Consume for { ... } loop and ignore that error as it means the user has closed the ConsumerGroup directly via Close(). - ensure exactly_once handles the Messages() channel being closed with an ok check. - copy assignment strategy optional flag from consumergroup into exactly_once sample - bump the go.mod of both to specify 1.40.1 by default (although we still replace to ../.. anyway) Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
- Loading branch information
Showing
6 changed files
with
96 additions
and
946 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.