Skip to content

Add graceful shutdown with connection cleanup #210

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

Closed
wants to merge 6 commits into from

Conversation

samof76
Copy link

@samof76 samof76 commented Jun 11, 2025

The changes implement a more graceful shutdown process that:

  1. Adds a configurable shutdown timeout setting
  2. Gracefully shuts down HTTP and debug servers
  3. Properly cleans up active connections with timeout
  4. Provides detailed logging during shutdown
  5. Preserves proxy functionality while gracefully terminating

This is all about improving how the Kafka proxy shuts down, making it more robust and controlled rather than abruptly terminating connections.

The changes implement a more graceful shutdown process that:
1. Adds a configurable shutdown timeout setting
2. Gracefully shuts down HTTP and debug servers
3. Properly cleans up active connections with timeout
4. Provides detailed logging during shutdown
5. Preserves proxy functionality while gracefully terminating

This is all about improving how the Kafka proxy shuts down, making it more robust and controlled rather than abruptly terminating connections.
@samof76
Copy link
Author

samof76 commented Jun 11, 2025

Fixes #133

@samof76
Copy link
Author

samof76 commented Jun 17, 2025

Not well implemented. Closing it.

@samof76 samof76 closed this Jun 17, 2025
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.

1 participant