You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by if...@apache.org on 2020/07/29 15:13:29 UTC

[rocketmq-client-python] 01/01: Revert "add set_instance_name function for producer"

This is an automated email from the ASF dual-hosted git repository.

ifplusor pushed a commit to branch revert-95-master
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-python.git

commit 38b11d52b4176a1122caa7dc83b50f9be22a0c2d
Author: James Yin <yw...@hotmail.com>
AuthorDate: Wed Jul 29 23:13:23 2020 +0800

    Revert "add set_instance_name function for producer"
    
    This reverts commit 9a38c4314abbc290396c75de28054898214c3d3f.
---
 rocketmq/client.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/rocketmq/client.py b/rocketmq/client.py
index 106e321..7d2ce0c 100644
--- a/rocketmq/client.py
+++ b/rocketmq/client.py
@@ -230,9 +230,6 @@ class Producer(object):
     def set_group(self, group_name):
         ffi_check(dll.SetProducerGroupName(self._handle, _to_bytes(group_name)))
 
-    def set_instance_name(self, name):
-        ffi_check(dll.SetProducerInstanceName(self._handle, _to_bytes(name)))
-
     def set_name_server_address(self, addr):
         ffi_check(dll.SetProducerNameServerAddress(self._handle, _to_bytes(addr)))