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

rumqttd: Return list of topic subscribed on console API #898

Open
de-sh opened this issue Aug 5, 2024 · 1 comment · May be fixed by #899
Open

rumqttd: Return list of topic subscribed on console API #898

de-sh opened this issue Aug 5, 2024 · 1 comment · May be fixed by #899

Comments

@de-sh
Copy link
Member

de-sh commented Aug 5, 2024

Expected Behavior

curl -X GET http://localhost:3333/subscriptions should return a response body containing JSON array listing all subscriptions.

Current Behavior

Console API returns nothing, but triggers a print to terminal, i.e. we are not constructing a response with requested info.

@swanandx
Copy link
Member

swanandx commented Aug 5, 2024

currently all endpoints just print info ( except log filter update ) right?

This would mean after sending API request, we need a way to communicate to and from router and console.

Sending request to router is already what we are doing, we would need a way to get the response/stats from router and then send back as response.

@de-sh de-sh linked a pull request Aug 6, 2024 that will close this issue
2 tasks
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

Successfully merging a pull request may close this issue.

2 participants