Etcd password auth, if using.
Backoff strategy to use for connecting to hosts. Defaults to an exponential strategy, starting at a 500 millisecond retry with a 30 second max.
Duration in milliseconds to wait while connecting before timing out. Defaults to 30 seconds.
Internal options to configure the GRPC client. These are channel options as enumerated in their C++ documentation. For example:
const etcd = new Etcd3({
// ...
grpcOptions: {
'grpc.http2.max_ping_strikes': 3,
},
})
A list of hosts to connect to. Hosts should include the https?://
prefix.
Prefix used to record the keys of all the sessions.
Defaults to sess
.
Whether, if a query fails as a result of a primitive GRPC error, to retry it on a different server (provided one is available). This can make service disruptions less-severe but can cause a domino effect if a particular operation causes a failure that grpc reports as some sort of internal or network error.
Defaults to false.
Option to skip touching process that express does every time it reads the session. This is useful if you work with big TTL and wanna free your ETCD from this extra access.
Defaults to false
.
Generated using TypeDoc
Configuration options for the etcd v3