-
Notifications
You must be signed in to change notification settings - Fork 506
/
Copy pathmetadata.yaml
62 lines (62 loc) · 1.97 KB
/
metadata.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# yaml-language-server: $schema=../../component-metadata-schema.json
schemaVersion: v1
type: state
name: cockroachdb
version: v1
status: stable
title: "CockroachDB"
urls:
- title: Reference
url: https://docs.dapr.io/reference/components-reference/supported-state-stores/setup-cockroachdb/
capabilities:
- actorStateStore
- crud
- transactional
- etag
- ttl
authenticationProfiles:
- title: "Connection string"
description: "Authenticate using a Connection String"
metadata:
- name: connectionString
required: true
sensitive: true
description: The connection string for the CockroachDB database
example: |
"host=localhost user=root password=example port=5432 connect_timeout=10 database=dapr_test"
type: string
metadata:
- name: timeout
required: false
description: Timeout for all database operations.
example: "30s"
default: "20s"
type: duration
- name: tableName
description: |
Name of the table where the data is stored. Can optionally have
the schema name as prefix, such as public.state.
type: string
default: '"state"'
example: '"state", "public.state"'
- name: metadataTableName
description: |
Name of the table Dapr uses to store a few metadata properties.
Can optionally have the schema name as prefix, such as public.dapr_metadata.
type: string
default: '"dapr_metadata"'
example: '"dapr_metadata", "public.dapr_metadata"'
- name: cleanupInterval
required: false
description: |
Interval to clean up rows with an expired TTL.
Setting this to values <=0 disables the periodic cleanup.
example: '"10m", "-1"'
default: "1h"
type: duration
- name: connectionMaxIdleTime
description: |
Max idle time before unused connections are automatically closed in the connection pool.
By default, there’s no value and this is left to the database driver to choose.
type: duration
example: '"5m"'