-
Notifications
You must be signed in to change notification settings - Fork 496
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
[TUBEMQ-433] add tubemq perf-consumer/producer scripts #330
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to unify the parameter labels of the CLI to reduce the learning cost of users. I will give a fields definition later
Codecov Report
@@ Coverage Diff @@
## master #330 +/- ##
===========================================
- Coverage 8.03% 8.02% -0.02%
+ Complexity 468 466 -2
===========================================
Files 249 249
Lines 27115 27115
Branches 4440 4440
===========================================
- Hits 2179 2176 -3
- Misses 24466 24468 +2
- Partials 470 471 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @yuanboliu
For CLI parameter names, unless it is our own attribute definition, do we try to align it with Kafka as much as possible?
For example, the size of the message, the number of messages, etc. As a user of MQ, I believe everyone has used Kafka, so if we can reduce the learning cost as much as possible, our product will be very user-friendly
ok, I'll update this pr today |
@gosonzhang [2020-12-02 15:15:07,974] INFO [Producer] Producer status from ready to running! (org.apache.tubemq.client.producer.ProducerManager)
[2020-12-02 15:15:07,983] INFO [Publish begin 2] publish topicSet [teg_inner_drtest1], address = org.apache.tubemq.client.producer.ProducerManager@583562e5 (org.apache.tubemq.client.producer.ProducerManager)
[2020-12-02 15:15:07,991] INFO [Publish begin 2] already get meta info, topicSet: [teg_inner_drtest1], waste time 7 Ms (org.apache.tubemq.client.producer.ProducerManager)
[2020-12-02 15:15:11,153] INFO Send 1000 message, keyCount is 251 (org.apache.tubemq.example.MAMessageProducerExample)
[2020-12-02 15:15:11,656] INFO Send 2000 message, keyCount is 501 (org.apache.tubemq.example.MAMessageProducerExample)
[2020-12-02 15:15:12,526] INFO Send 3000 message, keyCount is 751 (org.apache.tubemq.example.MAMessageProducerExample)
[2020-12-02 15:15:12,950] INFO Send 4000 message, keyCount is 1001 (org.apache.tubemq.example.MAMessageProducerExample)
[2020-12-02 15:15:14,990] INFO Send 5000 message, keyCount is 1251 (org.apache.tubemq.example.MAMessageProducerExample)
[2020-12-02 15:15:18,017] INFO Send 6000 message, keyCount is 1501 (org.apache.tubemq.example.MAMessageProducerExample)
[2020-12-02 15:15:18,832] INFO Send 7000 message, keyCount is 1751 (org.apache.tubemq.example.MAMessageProducerExample) [2020-12-02 15:39:07,835] INFO Starting Fetch Worker Pool ! (org.apache.tubemq.client.consumer.MessageFetchManager)
[2020-12-02 15:39:07,835] INFO Prepare to start Fetch Worker Pool, total count:1024 (org.apache.tubemq.client.consumer.MessageFetchManager)
[2020-12-02 15:39:07,901] INFO Fetch Worker Pool started ! (org.apache.tubemq.client.consumer.MessageFetchManager)
[2020-12-02 15:32:31,844] INFO Receive messages:63000 (org.apache.tubemq.example.MsgRecvStats)
[2020-12-02 15:33:41,768] INFO Receive messages:116000 (org.apache.tubemq.example.MsgRecvStats)
[2020-12-02 15:34:25,348] INFO Receive messages:148000 (org.apache.tubemq.example.MsgRecvStats)
[2020-12-02 15:34:52,044] INFO Receive messages:168000 (org.apache.tubemq.example.MsgRecvStats)
[2020-12-02 15:35:00,441] INFO Receive messages:174000 (org.apache.tubemq.example.MsgRecvStats) |
@yuanboliu Thanks! Version 0.7.0 is being released, and I will merge it later. |
No description provided.