Exit codes

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.