Managing connection to broker via custom entity #2146
Unanswered
allcupsnotinprivate
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use fastapi plugin to integrate queue handlers into the application. When the application starts, a connection to the broker is established.
Can I somehow manage the connection. For example, in the following case: I should have some callable object to establish a connection to the broker with custom retries (for example,
tenacity), and I should also be able to add custom logs in the required places inside the callable object (for example,logger.info(...)). And as a main goal, the application should still start if the connection to the broker fails.Are there any internal framework capabilities for this? Or how can I integrate my own?
Beta Was this translation helpful? Give feedback.
All reactions