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

Shutdown gracefully on SIGTERM or SIGINT #3984

Open
dlvenable opened this issue Jan 18, 2024 · 0 comments
Open

Shutdown gracefully on SIGTERM or SIGINT #3984

dlvenable opened this issue Jan 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dlvenable
Copy link
Member

Is your feature request related to a problem? Please describe.

When Data Prepper receives a SIGTERM or SIGINT (ctrl-C), Data Prepper should begin a graceful shutdown.

Describe the solution you'd like

Handle a SIGTERM or SIGINT by adding a Java shutdown hook.

getRuntime().addShutdownHook( ... thread ...);

This shutdown should be similar to the POST :4900/shutdown API.

@dlvenable dlvenable self-assigned this Jan 23, 2024
@dlvenable dlvenable added enhancement New feature or request and removed untriaged labels Jan 23, 2024
@dlvenable dlvenable added this to the v2.7 milestone Jan 23, 2024
@dlvenable dlvenable modified the milestones: v2.7, v2.8 Jan 30, 2024
@dlvenable dlvenable removed this from the v2.8 milestone Apr 16, 2024
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
Development

No branches or pull requests

1 participant