krakend / krakend-amqp

AMQP compatible backend for the KrakenD framework
https://www.krakend.io
Apache License 2.0
10 stars 16 forks source link

Not handling properly: channel/connection is not open #8

Closed joaoppereira closed 1 year ago

joaoppereira commented 3 years ago

Hi everyone,

We're using KrakenD as our API Gateway and we're using krakend-amqp to directly publish in our RabbitMq cluster and it keeps losing the connection/channel, and it only recovers rebooting KrakenD.

Our configuration:

"extra_config": {
          "github.com/devopsfaith/krakend-amqp/produce": {
            "routing_key": "Route",
            "exchange": "search",
            "durable": true,
            "delete": false,
            "exclusive": false,
            "no_wait": true,
            "mandatory": true,
            "immediate": false
          }
        }
alombarte commented 1 year ago

Related https://github.com/krakendio/krakend-ce/issues/486

taik0 commented 1 year ago

An automatic connection retry is added in #18