Skip to content
Permalink
Browse files
修改格式
  • Loading branch information
JoeCao committed Apr 8, 2015
1 parent ba2946b commit 0877f0a531bf1dd3fc9b643fff9c556f1bdb5a63
Showing 1 changed file with 4 additions and 4 deletions.
@@ -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')
"""
'''

0 comments on commit 0877f0a

Please sign in to comment.