Closed Goose97 closed 1 year ago
/cc @slashmili
@Goose97, Seems correct. Sorry I forgot about that. Checking draining_after_revoke_flag
is the way!
However I think checking revoke_caller
is redundant as both the flag and revoke_caller
set to false
and nil
at the same place.
Can you please check now @slashmili?
LGTM 👍🏼
:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:
@slashmili Well, that was my initial decision. But then I decide to check from local state first to save one ETS call.
This pull implements a fix for pull https://github.com/dashbitco/broadway_kafka/pull/121
To check if we're in draining state or not, we should check both from state and from ets table
This fixes https://github.com/dashbitco/broadway_kafka/issues/118