paho.mqtt.java
paho.mqtt.java copied to clipboard
MqttClient create 2 channels per connection
I'm creating ~255 threads each publishing to RabbitMQ. I noticed the number of channels double number of connection (510)
When I go to channels tab view, I noticed it looks like there's 2 channels per connection, one with prefech = 10. Why are there 2 channels per client? Why a publishing client has the prefetch setting? Is this normal behavior?
I'm using org.eclipse.paho.client.mqttv3 version 1.1.0
Any update on this? We are observing a similar pattern - 2 channels per connection. Also is it with RabbitMQ only its related to Paho MQTT library?