-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Feature Request
For English only, other languages will not be accepted.
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot make decision by current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Is your feature request related to a problem?
- Yes, refer to Add GraalVM Reachability Metadata and corresponding nativeTest for Consul integration shardingsphere#29588 and Improve GraalVM Reachability Metadata and corresponding nativeTest related unit tests shardingsphere#29052 .
Describe the feature you would like.
-
com.ecwid.consul:consul-apihas not released a new version for 4 years, which has led to issues like Some API is deprecated in version 1.15.x! Ecwid/consul-api#246 and was released in Consul 1.17 .x will be completely unavailable. Issues like Consider replacing https://github.com/Ecwid/consul-api with Interface Clients spring-cloud/spring-cloud-consul#475 are actively being moved away fromcom.ecwid.consul:consul-api. -
Issues like Add client support for Watches Ecwid/consul-api#19 expose that
com.ecwid.consul:consul-apidoes not encapsulate the watches API at all, refer to https://developer.hashicorp.com/consul/docs/v1.17.x/dynamic-app-config/watches . This resulted inshardingsphere-plugin-mode-cluster-repository-consuleven operating theindexmanually, which caused a lot of confusion in further maintenance. -
According to an investigation at Add GraalVM Reachability Metadata and corresponding nativeTest for Consul integration shardingsphere#29588 , the Consul integration is currently unavailable, again requiring further investigation.
-
This issue target is handling two subtasks.
-
Replaces
com.ecwid.consul:consul-apiwithcom.orbitz.consul:consul-client.- Although
com.orbitz.consul:consul-clienthas been archived, its last release is later thancom.ecwid.consul:consul-api. It also provides an encapsulation of thewatchesinterface, simplifying the use ofConsul Indexhandling, which helps align the operations of existing Zookeeper integration implementations in ShardingSphere. - Although there is a community branch as
org.kiwiproject:consul-client, there is nothing that can be done about ShardingSphere considering that Update minimum Java version to 11 kiwiproject/consul-client#39 improves the JDK compiled version to JDK11.
- Although
-
Replaces
com.orbitz.consul:consul-clientwithio.vertx:vertx-consul-client.io.vertx:vertx-consul-clientis the only Java Client for Consul currently being maintained. I don't think we should actively encapsulate HttpClient, this kind of thing should be done by a third party.
-