-
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consumer group: document actual behavior for on revoked / lost
The code explicitly set a no-op OnLost internally if there was no user OnLost specified. We now formalize this in documentation and in the proper section in code. Unlike the Java client, we are not starting from a history of always calling OnRevoked, so we can explicitly document that OnLost must be specified if users are interested. We now also ensure we duplicate the map passed to the callbacks so that users can own them and mutate them as they desire. We also document that the callbacks are never called concurrently.
- Loading branch information
Showing
2 changed files
with
31 additions
and
17 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
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