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

Support early draining #6

Open
v0idpwn opened this issue Nov 2, 2023 · 1 comment
Open

Support early draining #6

v0idpwn opened this issue Nov 2, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@v0idpwn
Copy link
Owner

v0idpwn commented Nov 2, 2023

We can't guarantee that the application won't generate stuck messages to be saved by the rescuer, but we can make a best effort:

  1. Stop producing messages when the application begins to shutdown
  2. Hold the shutdown for a maximum amount of seconds in an attempt to drain the publisher and the acknowledger
@v0idpwn v0idpwn added the enhancement New feature or request label Nov 2, 2023
@v0idpwn v0idpwn added this to the 1.0 milestone Nov 2, 2023
@v0idpwn v0idpwn changed the title Support draining Support early draining Nov 2, 2023
@v0idpwn
Copy link
Owner Author

v0idpwn commented Nov 2, 2023

(2) is already done through Kafkaesque.Pipeline. (1) can be added as an optional process to be added in the supervision tree.

@v0idpwn v0idpwn removed this from the 1.0 milestone Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant