Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow handle_message/2 to stop running pull consumer #28

Open
mkaput opened this issue Mar 10, 2022 · 0 comments
Open

Allow handle_message/2 to stop running pull consumer #28

mkaput opened this issue Mar 10, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mkaput
Copy link
Collaborator

mkaput commented Mar 10, 2022

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 mkaput added help wanted Extra attention is needed good first issue Good for newcomers labels Mar 10, 2022
@mkaput mkaput changed the title Allow handle_message/2 stop running pull consumer Allow handle_message/2 to stop running pull consumer Mar 11, 2022
@mkaput mkaput added the enhancement New feature or request label Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant