You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, currently there's no storage for subscription relationships, meaning it doesn't support cleansession=false. Therefore, the default setting is false
MQTT protocol defines Session Present Flag as follows:
![image](https://private-user-images.githubusercontent.com/641819/333520560-ada42f57-7af0-4168-908e-c27d1192d620.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA5MTkzNDEsIm5iZiI6MTcyMDkxOTA0MSwicGF0aCI6Ii82NDE4MTkvMzMzNTIwNTYwLWFkYTQyZjU3LTdhZjAtNDE2OC05MDhlLWMyN2QxMTkyZDYyMC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcxNFQwMTA0MDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iZmQzMDI3MmZjNjc1NWRiZTg2NmZkZjkzY2IxNTNiNzBkY2Y4MTU2MDEzZTc1ODU0OGM5MWEwNDI1M2Q3YzVhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Td_awc6XIDU-Z8koHgbx1pMo-zweG4JIs7dPIrSTLM0)
ConnectHandler writes ConnAck having session-present=false constantly:
See:
rocketmq-mqtt/mqtt-cs/src/main/java/org/apache/rocketmq/mqtt/cs/protocol/mqtt/handler/MqttConnectHandler.java
Line 109 in 477d478
rocketmq-mqtt/mqtt-cs/src/main/java/org/apache/rocketmq/mqtt/cs/protocol/mqtt/facotry/MqttMessageFactory.java
Line 42 in 477d478
The text was updated successfully, but these errors were encountered: