Skip to content

KAFKA-19537: Improve Exit Code Handling in StreamsGroupCommand #20293

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

Open
wants to merge 12 commits into
base: trunk
Choose a base branch
from

Conversation

joshua2519
Copy link
Contributor

This pull request enhances the StreamsGroupCommand to return appropriate exit codes, improving its reliability for scripting and automation.

Key changes include:

  • Exception handling is now consistently managed within the main method.
  • The command explicitly calls Exit.exit(0) on success and Exit.exit(1) on failure.
  • The test suite has been updated to validate command exit codes directly within existing tests.

@github-actions github-actions bot added triage PRs from the community tools labels Aug 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-approved tools triage PRs from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants