Mapping bindings between a stream and a pub-sub exchange causes publishers to fails and channels on publishers to explode in count.
Step to reproduce:
- 2-node cluster.
- Create a pub-sub exchange.
- Create a regular mirrored queue.
- Create one or more topic bindings to the queue.
- Have a publisher with a persistent connection to RabbitMQ publish events
- Events will be delivered to classic queue with no issues
- Create a stream queue, in my case I set a max-age of events to 1D, though it's unclear if that matters.
- Bind the stream queue to the pub-sub exchange with the same topic bindings as the classic queue.
- Attempt to publish more messages from the publisher which is still connected to the broker.
- Events will show up in the stream, but the publisher client never seems to successfully publish and the number of channels in the connection will continue to grow until the max channel limit of 2047 channels is reached.