Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rumqttc: log Outgoing::Connect #873

Open
de-sh opened this issue May 29, 2024 · 1 comment
Open

rumqttc: log Outgoing::Connect #873

de-sh opened this issue May 29, 2024 · 1 comment

Comments

@de-sh
Copy link
Contributor

de-sh commented May 29, 2024

Expected Behavior

If we log all successful events on poll after connecting to the broker, we should see Outgoing::Connect in it

Event = Outgoing(Connect)
Event = Incoming(ConnAck(ConnAck { session_present: false, code: Success, properties: Some(ConnAckProperties { session_expiry_interval: None, receive_max: Some(32), max_qos: None, retain_available: Some(1), max_packet_size: Some(1048576), assigned_client_identifier: None, topic_alias_max: Some(65535), reason_string: None, user_properties: [], wildcard_subscription_available: Some(1), subscription_identifiers_available: Some(1), shared_subscription_available: Some(1), server_keep_alive: None, response_information: None, server_reference: None, authentication_method: None, authentication_data: None }) }))
Event = Outgoing(Subscribe(1))
Event = Outgoing(Publish(2))

Current Behavior

poll eventlog starts post CONNACK only

Event = Incoming(ConnAck(ConnAck { session_present: false, code: Success, properties: Some(ConnAckProperties { session_expiry_interval: None, receive_max: Some(32), max_qos: None, retain_available: Some(1), max_packet_size: Some(1048576), assigned_client_identifier: None, topic_alias_max: Some(65535), reason_string: None, user_properties: [], wildcard_subscription_available: Some(1), subscription_identifiers_available: Some(1), shared_subscription_available: Some(1), server_keep_alive: None, response_information: None, server_reference: None, authentication_method: None, authentication_data: None }) }))
Event = Outgoing(Subscribe(1))
Event = Outgoing(Publish(2))
@de-sh
Copy link
Contributor Author

de-sh commented May 29, 2024

This was initiated by #852 (comment), any inputs @swanandx?

fixed by: https://github.com/bytebeamio/rumqtt/compare/split-connect?expand=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant