complone commented on issue #5055:
URL: https://github.com/apache/rocketmq/issues/5055#issuecomment-1246335220

   In fact, to solve the problem of automatic creation (autoCreateTopicEnable) 
from RocketMQ 4.3.0, Rocketmq provides a topicKey to specify the default topic, 
as shown in the following code:
   
   ```
   DefaultMQProducer producer = new 
DefaultMQProducer("please_rename_unidcque_group_name");
   //Set the key value of automatic topic creation
   producer.setCreateTopicKey("AUTO_CREATE_TOPIC_KEY");
   ```


-- 
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