@@ -632,22 +632,19 @@ handle_consumer_removal(Group0, Consumer, Stream, ConsumerName) ->
632632notify_consumer_effect (Pid , SubId , Stream , Name , Active ) ->
633633 notify_consumer_effect (Pid , SubId , Stream , Name , Active , false ).
634634
635- notify_consumer_effect (Pid , SubId , Stream , Name , Active , SteppingDown ) ->
636- notify_consumer_effect (Pid , SubId , Stream , Name , Active , SteppingDown , map ).
637-
638- notify_consumer_effect (Pid , SubId , Stream , Name , Active , false = _SteppingDown , map ) ->
635+ notify_consumer_effect (Pid , SubId , Stream , Name , Active , false = _SteppingDown ) ->
639636 mod_call_effect (Pid ,
640637 {sac , #{subscription_id => SubId ,
641638 stream => Stream ,
642639 consumer_name => Name ,
643640 active => Active }});
644- notify_consumer_effect (Pid , SubId , Stream , Name , Active , true = _SteppingDown , map ) ->
641+ notify_consumer_effect (Pid , SubId , Stream , Name , Active , true = SteppingDown ) ->
645642 mod_call_effect (Pid ,
646643 {sac , #{subscription_id => SubId ,
647644 stream => Stream ,
648645 consumer_name => Name ,
649646 active => Active ,
650- stepping_down => true }}).
647+ stepping_down => SteppingDown }}).
651648
652649maybe_create_group (VirtualHost ,
653650 Stream ,
0 commit comments