emqx / MQTTX

A Powerful and All-in-One MQTT 5.0 client toolbox for Desktop, CLI and WebSocket.
https://mqttx.app
Apache License 2.0
3.84k stars 444 forks source link

refactor(cli): improve bench sub logs #1675

Closed ysfscream closed 4 months ago

ysfscream commented 4 months ago

PR Checklist

If you have any questions, you can refer to the Contributing Guide

What is the current behavior?

image

What is the new behavior?

  1. Improved Logging for Multiple Topics: Ensure log messages accurately display all subscribed topics.
  2. Independent Multi-Topic Subscription: Ensure that subscriptions to multiple topics do not interfere with each other.
  3. Effective Error Differentiation: Improve error messages to differentiate between different types of errors.
  4. Display Connection Information: Add functionality to log detailed connection information.
image image

Does this PR introduce a breaking change?