Skip to content

Files

Latest commit

 

History

History
7 lines (5 loc) · 451 Bytes

Exit-codes.md

File metadata and controls

7 lines (5 loc) · 451 Bytes

Exit statuses

Karafka supports three exit statuses:

  • 0 - in case shutdown was smooth and everything was as expected (all the work was done, consumers stopped, etc).
  • 1 - Ruby exit code for syntax errors and any other on boot problems.
  • 2 - in case there was a forceful shutdown in which not all consumers finished their work. This can happen when you set up shutdown_timeout but your processing takes longer than that.