jetstream icon indicating copy to clipboard operation
jetstream copied to clipboard

Allow handle_message/2 to stop running pull consumer

Open mkaput opened this issue 3 years ago • 0 comments
trafficstars

Allow Jetstream.PullConsumer.handle_message/2 callback return {:stop, reason, new_state} tuple. It should behave exactly the same as it would be returned from GenServer's handle_call/2 or Connection's counterparts.

mkaput avatar Mar 10 '22 14:03 mkaput