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

Make triggerGracefulShutdown() public #130

Conversation

blindspotbounty
Copy link
Collaborator

Related to #125

ServiceLifecycle is not always required by end user, though KafkaConsumer and KafkaProducer can run without it.
However, it is impossible (in good manner) stop either of them without public method triggerGracefulShutdown().

This PR allows makes triggerGracefulShutdown() public thus allow to use KafkaConsumer/KafkaProducer directly.

@FranzBusch
Copy link
Contributor

@swift-server-bot test this please

@FranzBusch FranzBusch merged commit 24fd3f0 into swift-server:main Sep 21, 2023
blindspotbounty added a commit to ordo-one/swift-kafka-client that referenced this pull request Oct 10, 2023
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