Closed Yunustt closed 1 week ago
@Tong-07 do you mean that after the broker processes a DISCONNECT message your code gets notified of connection lost?
yes
It's because after DISCONNECT the client or the broker closes the connection, and Netty notifies the lost connection.
I think if the client actively disconnects, is it better for the broker to use a callback listening, netty's notification I understand
I have a question. netty detects inactivity and logs out.Why do I need to trigger onConnectionLost after broker onDisconnect