Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do the entire setup process during reconnection logic given a problem occurs #32

Open
willianantunes opened this issue Jul 25, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@willianantunes
Copy link
Contributor

If you see the mentioned reconnection logic here, you'll notice that the flow does not execute the following:

if execute_workaround_to_deal_with_rabbit_mq:
    _create_dlq_queue(destination_name)
    if is_destination_from_virtual_topic(destination_name):
        routing_key = get_subscription_destination(destination_name)
        _create_queue(destination_name, routing_key=routing_key)
        logger.info("Created/Refreshed queue to consume from topic in case of RabbitMQ...")

We only noticed it after a switch from ActiveMQ from RabbitMQ. In our case we had to redeploy all of our Apps in order to create the dead letter queues, as only a DNS configuration won't be enough because of this fault.

@willianantunes willianantunes added the bug Something isn't working label Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant