From 0877f0a531bf1dd3fc9b643fff9c556f1bdb5a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=A5=96=E9=B9=8F?= Date: Wed, 8 Apr 2015 11:58:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a3040ca..ef3b19d 100644 --- a/README.md +++ b/README.md @@ -4,15 +4,15 @@ Python Dubbo Client ------------------------------------- -###Python调用Dubbo接口的jsonrpc协议 +### Python调用Dubbo接口的jsonrpc协议 请使用dubbo-rpc-jsonrpc 并在dubbo中配置protocol为jsonrpc协议 -###在客户端实现负载均衡,服务发现 +### 在客户端实现负载均衡,服务发现 通过注册中心的zookeeper,获取服务的注册信息 然后通过代理实现负载均衡算法,调用服务端 ### Example -"""Python +'''Python service_interface = 'com.ofpay.demo.api.UserProvider' dubbo_client = DubboClient(service_interface) print dubbo_client.getUser('A003') @@ -21,4 +21,4 @@ Python Dubbo Client print dubbo_client.queryAll() print dubbo_client.isLimit('MAN', 'Joe') print dubbo_client('getUser', 'A005') -""" \ No newline at end of file +''' \ No newline at end of file