Skip to content

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