apache / rocketmq-client-python

Apache RocketMQ python client
https://rocketmq.apache.org/
Apache License 2.0
271 stars 95 forks source link

[ISSUE #151] Fix potential instance name duplicated #152

Open Heng-Bian opened 2 months ago

Heng-Bian commented 2 months ago

What is the purpose of the change

try to fix potential instance name duplicated #151

Brief changelog

add timestamp to defalut instace name of Producer and Consumer

Verifying this change

@duhenglucky @aaron-ai @ifplusor

Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

ifplusor commented 2 months ago

same instance name is default behavior for reuse network component.

Heng-Bian commented 2 months ago

same instance name is default behavior for reuse network component.

If the instance name is specified, there won't be any changes. Even if you specify an instance name, rocketmq-client-cpp will still add IP and PID information, such as IP@PID#your_instance_name.