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

Publish on multiple topics #6

Open
wants to merge 23 commits into
base: main
Choose a base branch
from
Open

Conversation

edoardesd
Copy link

Since analyse how the broker reacts on several publish also on different topics could be interesting, I added the following feature:

  • numTopics

With numTopics the number of different topics can be chosen launching mqtt-benchmark. The client will randomly publish on a topic.
The code adds a random number to the current topic, creating a second level (e.g. "/topic/39").

client.go Outdated Show resolved Hide resolved
@krylovsk
Copy link
Owner

After giving it another thought, I think implemented as this it can be confusing to the user because of the different combinations of # of clients and the # of topics.

Can you describe your use case in more detail? Let's continue this discussion in #5 (will keep PR open for now)

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

2 participants