Metadata Repository

File Repository

Type: File

Mode: Standalone

Attributes:

NameTypeDescriptionDefault Value
pathStringPath for metadata persist.shardingsphere

ZooKeeper Repository

Type: ZooKeeper

Mode: Cluster

Attributes:

NameTypeDescriptionDefault Value
retryIntervalMillisecondsintMilliseconds of retry interval500
maxRetriesintMax retries of client connection3
timeToLiveSecondsintSeconds of ephemeral data live60
operationTimeoutMillisecondsintMilliseconds of operation timeout500
digestStringPassword of login

Etcd Repository

Type: Etcd

Mode: Cluster

Attributes:

NameTypeDescriptionDefault Value
timeToLiveSecondslongSeconds of ephemeral data live30
connectionTimeoutlongSeconds of connection timeout30