confirm pubsub failure/operational domain.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.circleci
cmd
logging
vendor
.gitignore
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README.md

README.md

domsub

Confirm pubsub failure/operational domain.

  • S1: Verify receive method extends message lease and prevents visibility to other consumers.
  • S2: Verify unacked messages are visible after the lease expiry.
    +  +------------------------+
    |  |                        |
    |  | Publish Message(s)     |
    |  |                        |
    |  +------------------------+
    |
    |                            +---------------------------------------------------------+
    |                            |                      |                 |                |
 S1 |                            | 1 Receive Message(s) | Hold Message(s) | Ack Message(s) |
    |                            |                      |                 |                |
    |                            +---------------------------------------------------------+
    |
    |                                                   +----------------------------------+
    |                                                   |                                  |
    |                                                   | 2 Receive Loop Started           |
    |                                                   |                                  |
    +                                                   +----------------------------------+

    +------------------------------------------------- t ----------------------------------------------->

    +  +------------------------+                                                 +-----------------+
    |  |                        |                                                 |                 |
    |  | Publish Message(s)     |                                                 | Lease Expiry    |
    |  |                        |                                                 |                 |
    |  +------------------------+                                                 +-----------------+
    |
    |                            +---------------------------------+
    |                            |                      |          |
 S1 |                            | 1 Receive Message(s) | Die Hard |
    |                            |                      |          |
    |                            +---------------------------------+
    |
    |                                                   +-----------------------------------------------+
    |                                                   |                        |                      |
    |                                                   | 2 Receive Loop Started | Receive Message(s)   |
    |                                                   |                        |                      |
    +                                                   +-----------------------------------------------+