Skip to content

How to shut down the FastStream app after N processed RPC calls? #1221

Closed Answered by Lancetnik
maxalbert asked this question in Q&A
Discussion options

You must be logged in to vote

All brokers has 'gracefully_timeout' option, guarantee that all handlers will be completed before shutting down.
I think, u can setup this option and just send SIGINT signal in main thread any time (this signal triggers graceful timeout process)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by maxalbert
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants