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

feature: add shutdown notifier #28

Merged
merged 11 commits into from
Nov 7, 2024
Merged

Conversation

EddeCCC
Copy link
Member

@EddeCCC EddeCCC commented Nov 5, 2024

No description provided.

Copy link
Member

@levinkerschberger levinkerschberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The implementation is pretty good! Approved.

However,
I did a little bit of research, googeling and gpt´ing and jumped into a "how to make the shutdown-hook-manager-hole".
Apache Hadoop has a very similar one to our´s.

So...I created a gist with my version of a ShutdownHookManager. Don´t blame me for doing stuff like that in my freetime, but I think it came out pretty beautiful.

Have a look and tell me what you think about it:
https://gist.github.com/levinkerschberger/962cb4277ec5b85e3a4a8ad7d52fb7e5

@EddeCCC
Copy link
Member Author

EddeCCC commented Nov 6, 2024

I will surely take some inspiration from your and Hadoops's code

Copy link

sonarqubecloud bot commented Nov 7, 2024

@EddeCCC EddeCCC merged commit e749399 into master Nov 7, 2024
8 checks passed
@EddeCCC EddeCCC deleted the feature/add-shutdown-notifier branch November 8, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants