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

allow client to publish on many topics #1508

Closed
wants to merge 1 commit into from

Conversation

velimir
Copy link

@velimir velimir commented Nov 22, 2019

Hi,

Would you be interested in accepting the following feature? If so I would work on getting the tests done.

@karlp
Copy link
Contributor

karlp commented Nov 22, 2019

Perhaps describe what the goal is here, and the behaviours that can't be managed with existing tooling?

@velimir
Copy link
Author

velimir commented Nov 23, 2019

The goal here is to allow mosquitto_pub client to publish on multiple topics:

mosquitto_pub -m "hello world" -t client/updates/0 -t client/updates/1

The message is sent on the topics. Client cycles through the topics sending the provided message to the given topics one by one.

This is very handy for profiling a broker, where a client can publish on many topics within the same connection.

It can be done with existing tooling as there's no option at the moment to use multiple topics for the same connection.

@ralight
Copy link
Contributor

ralight commented Nov 16, 2023

I don't believe this is the direction that mosquitto_pub should go in. It would be potentially confusing to its core purpose.

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 this pull request may close these issues.

None yet

3 participants