You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 26, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: docs/en/reference/config.md
+31-14
Original file line number
Diff line number
Diff line change
@@ -9,23 +9,25 @@ or you can [download](https://raw.githubusercontent.com/hstreamdb/hstream/main/c
9
9
10
10
| Name | Default Value | Description |
11
11
| ---- | ------------- | ----------- |
12
-
| id || The identifier of a single HServer node, the value must be given and can be overwritten by cli option `--server-id`|
12
+
| id || The identifier of a single HServer node, the value must be given and can be overwritten by cli option `--server-id |
13
13
| bind-address | "0.0.0.0" | The IP address or name of the host to which the HServer protocol handler is bound. The value can be overwritten by cli option `--bind-address`|
14
14
| advertised-address | "127.0.0.1" | Server listener address value, the value must be given and shouldn't be "0.0.0.0", if you intend to start a cluster or trying to connect to the server from a different network. This value can be overwritten by cli option `--address`|
15
15
| gossip-address || The address used for server internal communication, if not specified, it uses the value of `advertised-address`. The value can be overwritten by cli option "--gossip-address" |
16
16
| port | 6570 | Server port value, the value must be given and can be overwritten by cli option `--port`
17
17
| internal-port | 6571 | Server port value for internal communications between server nodes, the value must be given and can be overwritten by cli option `--internal-port`|
18
18
| metastore-uri || The server nodes in the same cluster shares an HMeta uniy, this is used for metadata storage and is essential for a server to start. Specify the HMeta protocal such as `zk://` or `rq://`, following with Comma separated host:port pairs, each corresponding to a hmeta server. e.g. zk://127.0.0.1:2181,127.0.0.1:2182,127.0.0.1:2183. The value must be given and can be overwritten by cli option `--metastore-uri`|
19
-
log-with-color | true | optional, The options used to control whether print logs with color by the server node, can be overwritten by cli option `--log-with-color` |
20
-
log-level | info | optional, the setting control lof print level by the server node the default value can be overwritten by cli option `--log-level` |
19
+
| onnector-meta-store || The metadata store for connectors (hstream io), the value must be given. |
20
+
| log-with-color | true | optional, The options used to control whether print logs with color by the server node, can be overwritten by cli option `--log-with-color`|
21
+
| log-level | info | optional, the setting control lof print level by the server node the default value can be overwritten by cli option `--log-level`|
21
22
| max-record-size | 1024*1024 (1MB) | The largest size of a record batch allowed by HStreamDB|
22
23
| enable-tls | false | TLS options: Enable tls, which requires tls-key-path and tls-cert-path options |
23
24
| tls-key-path || TLS options: Key file path for tls, can be generated by openssl |
24
25
| tls-cert-path || The signed certificate by CA for the key(tls-key-path) |
26
+
| advertise-listeners || The advertised listeners for the server, see [advertised_listeners](../operation/advertised_listeners.md) for more details |
25
27
26
28
### hstore
27
29
28
-
The configuration for hstore is optional. When the values are not provided, hstreamdb will use the the default values.
30
+
The configuration for hstore is optional. When the values are not provided, hstreamdb will use the default values.
29
31
30
32
| Name | Default Value | Description |
31
33
| ---- | ------------- | ----------- |
@@ -41,19 +43,34 @@ Store admin section specifies the client config when connecting to the storage a
41
43
| send-timeout | 5000 | optional |
42
44
| recv-timeout | 5000 | optional |
43
45
44
-
### stream
46
+
### hstream-io
45
47
46
-
| Name | Default Value | Description |
47
-
| ---- | ------------- | ----------- |
48
-
| replication-factor | 1 | optional |
49
-
| backlog-retention | 7\*24\*3600 | the retention time in seconds|
48
+
| Name | Description |
49
+
| ---- | ----------- |
50
+
| tasks-path | the io tasks work directory |
51
+
| tasks-network | io tasks run as docker containers, so the tasks-network should be the network that can connect to HStreamDB and external systems |
52
+
| source-images | key-value map specify the images used by the source connectors |
53
+
| sink-images | key-value map specify the images used by the sink connectors |
50
54
51
-
### subscription
55
+
##Resource Attributes
52
56
53
-
| Name | Default Value | Description |
54
-
| ---- | ------------- | ----------- |
55
-
| ackTimeoutSeconds | 600 | Maximum time in the server will wait for an acknowledgement |
56
-
| maxUnackedRecords | 10000 | The maximum amount of unacknowledged records allowed |
57
+
### Stream
58
+
59
+
| Name | Description |
60
+
| ---- | ----------- |
61
+
| name | The name of the stream |
62
+
| shard count | The number of shards in the stream |
63
+
| replication factor | The number of the replicas |
64
+
| backlog retention | The retention time of the records in the stream in seconds|
65
+
66
+
### Subscription
67
+
68
+
| Name | Description |
69
+
| ---- | ----------- |
70
+
| id | The id of the subscription |
71
+
| stream name | The name of the stream to subscribe |
72
+
| ackTimeoutSeconds | Maximum time in the server will wait for an acknowledgement |
73
+
| maxUnackedRecords | The maximum amount of unacknowledged records allowed |
0 commit comments