Exit codes
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. |
Home | Getting started | Components | Producing Messages | Consuming messages | Concurrency and multithreading | Error handling and back off policy
This wiki is tracked by git and publicly editable. You are welcome to fix errors and typos. Any defacing or vandalism of content will result in your changes being reverted and you being blocked.