Comments (4)
I don't understand your question.
Can you describe the problem in detail?
from comqtt.
Sure, there should be two connected mqtt-clients in redis comqtt:cl but only one is shown. I run the cluster-version with three nodes and use redis as db inbetween them. Overtime one mqtt-client is lost and only one is shown:
hgetall "comqtt:cl"
- "41B34559-C1A2-42C8-8A6F-BB611933DCC5"
- "{"will":{},"properties":{},"username":"NjZ6cW84aDI=","id":"41B34559-C1A2-42C8-8A6F-BB611933DCC5","remote":"192.168.12.106:36000","listener":"tcp","protocolVersion":4,"clean":true}"
The interresting thing is that I still get messages from the other mqtt-client and the last info for this mqtt-client from comqtt is action: disconnect.
The reason I'm asking is that I provide the connection-status to the user and it shows wrong values like disconnect, even if the connection is working and I get messages from that mqtt-client.
from comqtt.
If the client is disconnected and clean session=true, the cli from redis is deleted.
from comqtt.
thank you, I'm going to observe it with more clients.
from comqtt.
Related Issues (20)
- Goleak failing
- Running the cluster without doing changes causes unclean shutdown HOT 3
- Use of Init to launch http server. HOT 3
- 跨节点数据同步消息同步丢数据,并且大概率会导致服务阻塞后续的pub无法同步到其他节点 HOT 3
- Use custom logger HOT 1
- Config file single.yml doesn't allow for auth config
- Disconnecting while Kafka bridge turned on causes a panic HOT 1
- Enable "hacktoberfest" contributions? HOT 4
- Dropping messages in OnPublish HOT 1
- mqtt.options配置加载不正确
- 问题咨询 HOT 1
- Authenticating against a MongoDB collection with Bcrypt-hashed passwords
- Missing OnPublishedWithSharedFilters in debug hook
- MySQL auth: bad configuration causes panic HOT 5
- 请问可以不redis使用吗? HOT 1
- queue/retry messages to Kafka HOT 3
- 如何获取连接的客户端列表呢 HOT 1
- Redis: Usage of old go-redis package, before go-redis received official support by Redis HOT 1
- Cannot receive/send any message when acl is configured
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comqtt.