-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update up-rust to 0.3.0 and bump own version to prepare for release. #16
base: main
Are you sure you want to change the base?
Update up-rust to 0.3.0 and bump own version to prepare for release. #16
Conversation
I'm thinking that the same as outlined in @sophokles73's comment over here would have to occur here as well? (I'll have to spend some more time reading about MQTT5 tomorrow to check on how to do this, was just getting this started) let ue_id = if uri.ue_id == WILDCARD_ENTITY_ID {
"+".into()
} else {
format!("{:X}", uri.ue_id)
}; |
In general, I also think that the same issue applies. However, MQTT's topic filters do not support matching string patterns. All you can do is match any ... If you need to filter on a more specific pattern, then it needs to be done in the message consumer. |
Okay. So does that limitation of MQTT5 mean the logic should reflect CY's code prior to his update, i.e. + if entity type is wild carded or otherwise the exact ue_id? I think that'd be a limitation we should write in the MQTT5 transport spec then right? |
Maybe another way to put this -- if we wanted to support this behavior perhaps we should have two distinct segments in the MQTT topic then, one for entity id and one for entity type? I would think a divergence in ability to listen would not be preferable between the transports, right? |
From the top of my head I would agree with that assessment. I will need to dig a little deeper into the MQTT transport spec, though. |
No description provided.