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
I have an MQTT protocol specification (asyncapi 3.0.0) which uses parameters in the addresses. These seem to be ignored by glee when it subscribes to the topics.
What happens is that glee will subscribe to the topic 'createUser/{userId}' (literally).
Expected behavior
I guess it's open for debate what the expected behaviour should be, but I expect something along the lines of:
glee subscribes to 'createUser/+' where + is a wildcard accepting any value
glee provides the value for userId as parameter to the handler function.
Or optionally: some sort of call to enable subscriptions to a channel with a specific parameter value supplied.
Additionally, there seems to be no mechanism for sending a message to a channel which has parameters in the address. Maybe that should be another bug, but it's a bit moot at the point since it seems like the specified address is ignored when sending message on a channel (#721)
The text was updated successfully, but these errors were encountered:
@KhudaDad414 I don't know the code base of this project enough to do this myself at this point. But if I get around to it some day, I will of course open a PR.
This issue has been automatically marked as stale because it has not had recent activity 😴
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Describe the bug
I have an MQTT protocol specification (asyncapi 3.0.0) which uses parameters in the addresses. These seem to be ignored by glee when it subscribes to the topics.
How to Reproduce
Create receive channel as follows:
What happens is that glee will subscribe to the topic 'createUser/{userId}' (literally).
Expected behavior
I guess it's open for debate what the expected behaviour should be, but I expect something along the lines of:
Or optionally: some sort of call to enable subscriptions to a channel with a specific parameter value supplied.
Additionally, there seems to be no mechanism for sending a message to a channel which has parameters in the address. Maybe that should be another bug, but it's a bit moot at the point since it seems like the specified address is ignored when sending message on a channel (#721)
The text was updated successfully, but these errors were encountered: