Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support redis cluster #873

Merged
merged 9 commits into from
Nov 7, 2019
Merged

Support redis cluster #873

merged 9 commits into from
Nov 7, 2019

Conversation

tai1030
Copy link
Contributor

@tai1030 tai1030 commented Nov 6, 2019

在Redis配置文檔添加 "cluster" 屬性,
控制使用Redis或RedisCluster類作為客戶端.

@tai1030
Copy link
Contributor Author

tai1030 commented Nov 6, 2019

目前業務在使用AWS上的Redis服務,以集群模式佈建Redis。
參考了Laravel的配置方式,支援設定集群端點。

參考:https://kejyuntw.gitbooks.io/laravel-5-learning-notes/database/redis/database-redis-aws-cluster.html

@limingxinleo limingxinleo changed the title Support docker cluster Support redis cluster Nov 6, 2019
@limingxinleo
Copy link
Member

@tai1030 我改了下,你试试

@tai1030
Copy link
Contributor Author

tai1030 commented Nov 6, 2019

測試成功!
謝謝 @limingxinleo 幫忙完善👍

在AWS下的Redis服務啟用集群模式後,seeds只需要一個值就可以,就是 "組態端點",如下圖。

image
image

@limingxinleo
Copy link
Member

嗯,可以的

doc/zh/redis.md Outdated Show resolved Hide resolved
doc/zh/redis.md Outdated Show resolved Hide resolved
@limingxinleo
Copy link
Member

@huangzhhui 都改了

@limingxinleo limingxinleo merged commit c711676 into hyperf:master Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants