DiamondLightSource / DiamondLightSource/blueapi

Make pod fail if not connecting to RabbitMQ

Open
#496 0 comments 0 reactions 0 assignees View on GitHub
deployment enhancement needs confirmation
Dominant language
Python
Stars
13
Forks
13
Avg merge
2d 11h
Merged PRs (30d)
25

Description

As a support engineer, when deploying using kubernetes, I would like blueapi to fall over quickly if it is configured to use a message bus but is unable to connect, so that kubernetes eventual consistency algorithms can get both services into a working state as quickly as possible.

See #459 for detailed discussion.

## Acceptance Criteria
- `blueapi serve` raises an error and closes if configured to use a message bus (via `stomp` configuration) but unable to connect
- It continues to work if _not_ configured to use a message bus

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.