Class ServiceConfig.Etcd

java.lang.Object
org.apache.opendal.ServiceConfig.Etcd
All Implemented Interfaces:
ServiceConfig
Enclosing interface:
ServiceConfig

public static class ServiceConfig.Etcd extends Object implements ServiceConfig
Configuration for service etcd.
  • Field Details

    • caPath

      public final String caPath

      certificate authority file path

      default is None

    • certPath

      public final String certPath

      cert path

      default is None

    • endpoints

      public final String endpoints

      network address of the Etcd services. If use https, must set TLS options: ca_path, cert_path, key_path. e.g. "127.0.0.1:23790,127.0.0.1:23791,127.0.0.1:23792" or "http://127.0.0.1:23790,http://127.0.0.1:23791,http://127.0.0.1:23792" or "https://127.0.0.1:23790,https://127.0.0.1:23791,https://127.0.0.1:23792"

      default is "http://127.0.0.1:2379"

    • keyPath

      public final String keyPath

      key path

      default is None

    • maxDecodingMessageSize

      public final Long maxDecodingMessageSize

      the maximum size in bytes of a gRPC response that the etcd client decodes.

      Set this to read values larger than the etcd client's own limit. The etcd server must also allow responses of that size.

      Refer to etcd_client::KvClient::max_decoding_message_size

      default is None, which keeps the etcd client default of 4 MiB

    • password

      public final String password

      the password for authentication

      default is None

    • root

      public final String root

      the working directory of the etcd service. Can be "/path/to/dir"

      default is "/"

    • username

      public final String username

      the username to connect etcd service.

      default is None

  • Constructor Details

    • Etcd

      public Etcd()
  • Method Details