matryer / vice

Go channels at horizontal scale (powered by message queues)
https://medium.com/@matryer/introducing-vice-go-channels-across-many-machines-bcac1147d7e2
Apache License 2.0
1.54k stars 79 forks source link

RabbitMQ transport: reconnect #47

Open vetcher opened 6 years ago

vetcher commented 6 years ago

Right now, when connection to broker drops, there is no way to reconnect and restore channels functionality. Also, as I see, chan []bytes created by vice.Transport blocks forever after disconnection.

I can propose pull request (like here), but not at this moment.

What you think?

matryer commented 6 years ago

Would it be possible to add this situation into the global interface test? That way, we can see what’s going on with it, and also make sure other transports behave properly too.

vetcher commented 6 years ago

@matryer check #51, I added small test and comments above to show the problem