Skip to content

Exit codes

Maciej Mensfeld edited this page Feb 16, 2024 · 13 revisions

Important

GitHub Wiki is just a mirror of our online documentation.

We highly recommend using our website docs due to Github Wiki limitations. Only some illustrations, links, screencasts, and code examples will work here, and the formatting may be broken.

Please use https://karafka.io/docs.


Each Karafka process defines exit statuses to indicate how the process terminated, offering clarity on operational outcome. Below, you can find the meaning behind each of the exit codes used:

Exit Code Description
0 Smooth shutdown: all work completed as expected, consumers stopped, etc.
1 Ruby exit code for syntax errors or other boot problems.
2 Forceful shutdown: not all consumers finished their work due to exceeding shutdown_timeout.
3 Exit code for an orphaned Swarm node.
Clone this wiki locally