You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/04/29 07:29:50 UTC

[GitHub] [apisix] bin-ya opened a new issue, #6969: feat: As a user, I want to specify different registries for different routes

bin-ya opened a new issue, #6969:
URL: https://github.com/apache/apisix/issues/6969

   ### Description
   
   https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L304-L317
   I found that the registries supported in our document are `dns`, `eureka`, `consul-kv` and `nacos`, but now there are only `dns` and `eureka` in config-default.yaml file, so I think it needs to add `consul-kv` and `nacos` to config-default.yaml


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] Xlight5 commented on issue #6969: docs: As a user, I want to specify different registries for different routes

Posted by GitBox <gi...@apache.org>.
Xlight5 commented on issue #6969:
URL: https://github.com/apache/apisix/issues/6969#issuecomment-1318034050

   # try this
   nacos:
       host:
         - "http://${username}:${password}@${host1}:${port1}"
       prefix: "/nacos/v1/"
       fetch_interval: 30    # default 30 sec
       weight: 100           # default 100
       timeout:
         connect: 2000       # default 2000 ms
         send: 2000          # default 2000 ms
         read: 5000          # default 5000 ms
   consul_kv:
       servers:
         - "http://127.0.0.1:8500"
         - "http://127.0.0.1:8600"
       prefix: "upstreams"
       skip_keys:                    # if you need to skip special keys
         - "upstreams/unused_api/"
       timeout:
         connect: 2000               # default 2000 ms
         read: 2000                  # default 2000 ms
         wait: 60                    # default 60 sec
       weight: 1                     # default 1
       fetch_interval: 3             # default 3 sec, only take effect for keepalive: false way
       keepalive: true               # default true, use the long pull way to query consul servers
       default_server:               # you can define default server when missing hit
         host: "127.0.0.1"
         port: 20999
         metadata:
           fail_timeout: 1           # default 1 ms
           weight: 1                 # default 1
           max_fails: 1              # default 1
       dump:                         # if you need, when registered nodes updated can dump into file
          path: "logs/consul_kv.dump"
          expire: 2592000


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] juzhiyuan closed issue #6969: docs: As a user, I want to specify different registries for different routes

Posted by GitBox <gi...@apache.org>.
juzhiyuan closed issue #6969: docs: As a user, I want to specify different registries for different routes
URL: https://github.com/apache/apisix/issues/6969


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] bin-ya commented on issue #6969: feat: As a user, I want to specify different registries for different routes

Posted by GitBox <gi...@apache.org>.
bin-ya commented on issue #6969:
URL: https://github.com/apache/apisix/issues/6969#issuecomment-1112956657

   If you need to update, please let me finish it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] Xlight5 commented on issue #6969: docs: As a user, I want to specify different registries for different routes

Posted by GitBox <gi...@apache.org>.
Xlight5 commented on issue #6969:
URL: https://github.com/apache/apisix/issues/6969#issuecomment-1318027845

   # try this
     nacos:
       host:
         - "http://${username}:${password}@${host1}:${port1}"
       prefix: "/nacos/v1/"
       fetch_interval: 30    # default 30 sec
       weight: 100           # default 100
       timeout:
         connect: 2000       # default 2000 ms
         send: 2000          # default 2000 ms
         read: 5000          # default 5000 ms
     consul_kv:
       servers:
         - "http://127.0.0.1:8500"
         - "http://127.0.0.1:8600"
       prefix: "upstreams"
       skip_keys:                    # if you need to skip special keys
         - "upstreams/unused_api/"
       timeout:
         connect: 2000               # default 2000 ms
         read: 2000                  # default 2000 ms
         wait: 60                    # default 60 sec
       weight: 1                     # default 1
       fetch_interval: 3             # default 3 sec, only take effect for keepalive: false way
       keepalive: true               # default true, use the long pull way to query consul servers
       default_server:               # you can define default server when missing hit
         host: "127.0.0.1"
         port: 20999
         metadata:
           fail_timeout: 1           # default 1 ms
           weight: 1                 # default 1
           max_fails: 1              # default 1
       dump:                         # if you need, when registered nodes updated can dump into file
          path: "logs/consul_kv.dump"
          expire: 2592000


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] Xlight5 commented on issue #6969: docs: As a user, I want to specify different registries for different routes

Posted by GitBox <gi...@apache.org>.
Xlight5 commented on issue #6969:
URL: https://github.com/apache/apisix/issues/6969#issuecomment-1318031965

   # Try This  
   nacos:
       host:
         - "http://${username}:${password}@${host1}:${port1}"
       prefix: "/nacos/v1/"
       fetch_interval: 30    # default 30 sec
       weight: 100           # default 100
       timeout:
         connect: 2000       # default 2000 ms
         send: 2000          # default 2000 ms
         read: 5000          # default 5000 ms
     consul_kv:
       servers:
         - "http://127.0.0.1:8500"
         - "http://127.0.0.1:8600"
       prefix: "upstreams"
       skip_keys:                    # if you need to skip special keys
         - "upstreams/unused_api/"
       timeout:
         connect: 2000               # default 2000 ms
         read: 2000                  # default 2000 ms
         wait: 60                    # default 60 sec
       weight: 1                     # default 1
       fetch_interval: 3             # default 3 sec, only take effect for keepalive: false way
       keepalive: true               # default true, use the long pull way to query consul servers
       default_server:               # you can define default server when missing hit
         host: "127.0.0.1"
         port: 20999
         metadata:
           fail_timeout: 1           # default 1 ms
           weight: 1                 # default 1
           max_fails: 1              # default 1
       dump:                         # if you need, when registered nodes updated can dump into file
          path: "logs/consul_kv.dump"
          expire: 2592000


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] vyvyan2010 commented on issue #6969: docs: As a user, I want to specify different registries for different routes

Posted by GitBox <gi...@apache.org>.
vyvyan2010 commented on issue #6969:
URL: https://github.com/apache/apisix/issues/6969#issuecomment-1183262850

   @spacewander @starsz please help to review this pr 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] Xlight5 commented on issue #6969: docs: As a user, I want to specify different registries for different routes

Posted by GitBox <gi...@apache.org>.
Xlight5 commented on issue #6969:
URL: https://github.com/apache/apisix/issues/6969#issuecomment-1318011893

   [WeOpenStar] I would like to help


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] Xlight5 commented on issue #6969: docs: As a user, I want to specify different registries for different routes

Posted by GitBox <gi...@apache.org>.
Xlight5 commented on issue #6969:
URL: https://github.com/apache/apisix/issues/6969#issuecomment-1318035658

   nacos:
        host:
         - "http://${username}:${password}@${host1}:${port1}"
       prefix: "/nacos/v1/"
       fetch_interval: 30    # default 30 sec
       weight: 100           # default 100
       timeout:
         connect: 2000       # default 2000 ms
         send: 2000          # default 2000 ms
         read: 5000          # default 5000 ms
   consul_kv:
       servers:
         - "http://127.0.0.1:8500"
         - "http://127.0.0.1:8600"
       prefix: "upstreams"
       skip_keys:                    # if you need to skip special keys
         - "upstreams/unused_api/"
       timeout:
         connect: 2000               # default 2000 ms
         read: 2000                  # default 2000 ms
         wait: 60                    # default 60 sec
       weight: 1                     # default 1
       fetch_interval: 3             # default 3 sec, only take effect for keepalive: false way
       keepalive: true               # default true, use the long pull way to query consul servers
       default_server:               # you can define default server when missing hit
         host: "127.0.0.1"
         port: 20999
         metadata:
           fail_timeout: 1           # default 1 ms
           weight: 1                 # default 1
           max_fails: 1              # default 1
       dump:                         # if you need, when registered nodes updated can dump into file
          path: "logs/consul_kv.dump"
          expire: 2592000


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org