doc(readme) adapt to new client's api
diff --git a/README.md b/README.md
index 033feca..15d2c2f 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@
from rocketmq.client import Producer, Message
producer = Producer('PID-XXX')
-producer.set_namesrv_addr('127.0.0.1:9876')
+producer.set_name_server_address('127.0.0.1:9876')
producer.start()
msg = Message('YOUR-TOPIC')
@@ -45,7 +45,7 @@
consumer = PushConsumer('CID_XXX')
-consumer.set_namesrv_addr('127.0.0.1:9876')
+consumer.set_name_server_address('127.0.0.1:9876')
consumer.subscribe('YOUR-TOPIC', callback)
consumer.start()