ralf0131 closed pull request #21: 将redis协议的文档中 连接配置 url 信息从memcached 修改为redis
URL: https://github.com/apache/incubator-dubbo-docs/pull/21
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/dubbo-user-book/references/protocol/redis.md 
b/dubbo-user-book/references/protocol/redis.md
index 531ec6f..a98f1df 100644
--- a/dubbo-user-book/references/protocol/redis.md
+++ b/dubbo-user-book/references/protocol/redis.md
@@ -35,10 +35,10 @@ 
registry.register(URL.valueOf("redis://10.20.153.11/com.foo.BarService?category=
 如果方法名和 redis 的标准方法名不相同,则需要配置映射关系 [^4]:
 
 ```xml
-<dubbo:reference id="cache" interface="com.foo.CacheService" 
url="memcached://10.20.153.10:11211" p:set="putFoo" p:get="getFoo" 
p:delete="removeFoo" />
+<dubbo:reference id="cache" interface="com.foo.CacheService" 
url="redis://10.20.153.10:6379" p:set="putFoo" p:get="getFoo" 
p:delete="removeFoo" />
 ```
 
 [^1]: [Redis](http://redis.io) 是一个高效的 KV 存储服务器
 [^2]: `2.3.0` 以上版本支持
 [^3]: 不需要感知 Redis 的地址
-[^4]: 其中 "p:xxx" 为 spring 的标准 p 标签
\ No newline at end of file
+[^4]: 其中 "p:xxx" 为 spring 的标准 p 标签


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to