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

[discuss] feature: support etcd cluster in Apache APISIX. #1231

Closed
membphis opened this issue Mar 11, 2020 · 2 comments · Fixed by #1283
Closed

[discuss] feature: support etcd cluster in Apache APISIX. #1231

membphis opened this issue Mar 11, 2020 · 2 comments · Fixed by #1283
Assignees
Labels
enhancement New feature or request

Comments

@membphis
Copy link
Member

The etcd cluster is highly available, so Apache APISIX should allow multiple etcd addresses to be configured to connect to the etcd cluster.

How about this new style?

etcd:
  host: 
      - "http://127.0.0.1:2379"   # multiple etcd address
      - "http://127.0.0.1:2380"  
  prefix: "/apisix"               # apisix configurations prefix
  timeout: 3                      # 3 seconds

BTW, the driver resty-etcd has supported this feature.

https://github.com/iresty/lua-resty-etcd/blob/master/t/v2/cluster.t#L52

@membphis membphis added the enhancement New feature or request label Mar 11, 2020
@moonming moonming added the GSoC label Mar 11, 2020
@Akayeshmantha
Copy link
Member

Hi @membphis I would like to work on this issue.

@membphis
Copy link
Member Author

ok, I have assigned to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants