Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
Description
The javadocs for commitAsync() (w/o callback) say:
@throws org.apache.kafka.common.errors.FencedInstanceIdException if this consumer instance gets fenced by broker.
If no callback is passed into commitAsync(), no offset commit callback invocation is submitted. However, we only check for a FencedInstanceIdException when we execute a callback. It seems to me that with commitAsync() we would not throw at all when the consumer gets fenced.
In any case, we need a unit test that verifies that the FencedInstanceIdException is thrown for each version of commitAsync().
Attachments
Issue Links
- links to