yuz10 opened a new issue #3394:
URL: https://github.com/apache/rocketmq/issues/3394


   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (The steps to reproduce)?
   send many msgs, enable tracing, and each msg have the same key "OrderID188", 
and a different key "OrderID{i}"
     ```java
   
           DefaultMQProducer producer = new 
DefaultMQProducer("ProducerGroupName", true);
           producer.setNamesrvAddr("localhost:9876");
           producer.start();
   
           for (int i = 0; i < 128; i++) {
               try {
                   {
                       Message msg = new Message("TopicTest",
                               "TagA",
                               "OrderID188 OrderID" + i,
                               "Hello 
world".getBytes(RemotingHelper.DEFAULT_CHARSET));
                       SendResult sendResult = producer.send(msg);
                       System.out.printf("%s%n", sendResult);
                   }
   
               } catch (Exception e) {
                   e.printStackTrace();
               }
           }
   
           producer.shutdown();
   
     ```
   - What did you expect to see?
    the trace msg  have only one "OrderID188" key
   
   - What did you see instead?
    the  trace msg  have only many "OrderID188" keys
   
![image](https://user-images.githubusercontent.com/14816818/135751642-10f020e9-d206-4cdc-9bc2-0c36607c50b5.png)
   
   2. Please tell us about your environment:
   
   3. Other information (e.g. detailed explanation, logs, related issues, 
suggestions how to fix, etc):
   
   **FEATURE REQUEST**
   
   1. Please describe the feature you are requesting.
   
   2. Provide any additional detail on your proposed use case for this feature.
   
   2. Indicate the importance of this issue to you (blocker, must-have, 
should-have, nice-to-have). Are you currently using any workarounds to address 
this issue?
   
   4. If there are some sub-tasks using -[] for each subtask and create a 
corresponding issue to map to the sub task:
   
   - [sub-task1-issue-number](example_sub_issue1_link_here): sub-task1 
description here, 
   - [sub-task2-issue-number](example_sub_issue2_link_here): sub-task2 
description here,
   - ...
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to