Skip to content

Commit

Permalink
Moves state diagram to docs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mvrsss committed Jan 12, 2024
1 parent 308e8d9 commit 98b3ed9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 11 additions & 0 deletions docs/consumer-state-diagram.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Consumer states

The diagram shows the state changes based on the Broker messages we receive.

## `CANCELLING_BUT_RESUMING`

New state `CANCELLING_BUT_RESUMING` was added to support resume after cancellation.

- calling `resume()` in a `CANCELLING` state sets the state to `CANCELLING_BUT_RESUMING` which will enable consumer restart

- previously cancelled consumer would be restarted after `resume()` call
1 change: 0 additions & 1 deletion examples/resume/README.md

This file was deleted.

0 comments on commit 98b3ed9

Please sign in to comment.