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
|`ENVIRONMENT`| No | The environment of your Hive app. (**Note:** This will be used for Sentry reporting.) |`staging`|
10
10
|`KAFKA_TOPIC`|**Yes**| The kafka topic. |`usage_reports_v2`|
11
-
|`KAFKA_BROKER`|**Yes**| The address of the Kafka broker. |`127.0.0.1:29092`|
11
+
|`KAFKA_BROKER`|**Yes**| The address of the Kafka broker. To use multiple, separate the addresses with commas.|`127.0.0.1:29092`|
12
12
|`KAFKA_CONCURRENCY`|**Yes**| The concurrency of the Kafka connection. |`3`|
13
13
|`KAFKA_SSL`| No | Whether an SSL connection should be established to the kafka service. |`1` (enabled) or `0` (disabled) |
14
14
|`KAFKA_SSL_CA_PATH`| No | Refer to [TLS create secure context](https://nodejs.org/dist/latest-v8.x/docs/api/tls.html#tls_tls_createsecurecontext_options) for more information |`./path_to_ca`|
@@ -17,6 +17,9 @@ This service takes care of feeding usage data into the ClickHouse instance.
17
17
|`KAFKA_SASL_MECHANISM`| No | The mechanism used for doing SASL authentication |`plain` or `scram-sha-256` or `scram-sha-512`|
18
18
|`KAFKA_SASL_USERNAME`| No (Yes, if `KAFKA_SASL_MECHANISM` is defined) | The username for the SASL authentication |`letmein`|
19
19
|`KAFKA_SASL_PASSWORD`| No (Yes, if `KAFKA_SASL_MECHANISM` is defined) | Whether an SSL connection should be established to the kafka service. |`letmein`|
20
+
|`AWS_REGION`| No | The global AWS region for the service. Used as the default region for AWS connections. |`us-east-1`|
21
+
|`KAFKA_AWS_IAM_AUTH_ENABLED`| No | Use AWS IAM to authenticate to the AWS MSK instance. Requires `AWS_REGION` to be set. |`1` (enabled) or `0` (disabled) |
22
+
|`KAFKA_AWS_REGION`| No | Override for `AWS_REGION` specific to the Kafka/MSK connection. |`us-east-2`|
20
23
|`CLICKHOUSE_PROTOCOL`|**Yes**| The ClickHouse protocol. |`http` or `https`|
21
24
|`CLICKHOUSE_HOST`|**Yes**| The ClickHouse host. |`127.0.0.1`|
22
25
|`CLICKHOUSE_PORT`|**Yes**| The ClickHouse port. |`8443`|
Copy file name to clipboardExpand all lines: packages/services/usage/README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,14 +14,17 @@ The data is written to a Kafka broker, form Kafka the data is feed into clickhou
14
14
|`COMMERCE_ENDPOINT`| No | The endpoint of the commerce service. |`http://127.0.0.1:4012`|
15
15
|`KAFKA_TOPIC`|**Yes**| The kafka topic. |`usage_reports_v2`|
16
16
|`KAFKA_CONSUMER_GROUP`|**Yes**| The kafka consumer group. |`usage_reports_v2`|
17
-
|`KAFKA_BROKER`|**Yes**| The address of the Kafka broker. |`127.0.0.1:29092`|
17
+
|`KAFKA_BROKER`|**Yes**| The address of the Kafka broker. To use multiple, separate the addresses with commas.|`127.0.0.1:29092`|
18
18
|`KAFKA_SSL`| No | Whether an SSL connection should be established to the kafka service. |`1` (enabled) or `0` (disabled) |
19
19
|`KAFKA_SSL_CA_PATH`| No | Refer to [TLS create secure context](https://nodejs.org/dist/latest-v8.x/docs/api/tls.html#tls_tls_createsecurecontext_options) for more information |`./path_to_ca`|
20
20
|`KAFKA_SSL_CERT_PATH`| No | Refer to [TLS create secure context](https://nodejs.org/dist/latest-v8.x/docs/api/tls.html#tls_tls_createsecurecontext_options) for more information |`./path_to_cert`|
21
21
|`KAFKA_SSL_KEY_PATH`| No | Refer to [TLS create secure context](https://nodejs.org/dist/latest-v8.x/docs/api/tls.html#tls_tls_createsecurecontext_options) for more information |`./path_to_key`|
22
22
|`KAFKA_SASL_MECHANISM`| No | The mechanism used for doing SASL authentication |`plain` or `scram-sha-256` or `scram-sha-512`|
23
23
|`KAFKA_SASL_USERNAME`| No | The username for the SASL authentication |`letmein`|
24
24
|`KAFKA_SASL_PASSWORD`| No | Whether an SSL connection should be established to the kafka service. |`letmein`|
25
+
|`AWS_REGION`| No | The global AWS region for the service. Used as the default region for AWS connections. |`us-east-1`|
26
+
|`KAFKA_AWS_IAM_AUTH_ENABLED`| No | Use AWS IAM to authenticate to the Kafka instance. Requires `AWS_REGION` to be set. |`1` (enabled) or `0` (disabled) |
27
+
|`KAFKA_AWS_REGION`| No | Override for `AWS_REGION` specific to the Kafka/MSK connection. |`us-east-2`|
25
28
|`KAFKA_BUFFER_SIZE`| No | The buffer size ??? |`12`|
26
29
|`KAFKA_BUFFER_INTERVAL`| No | The buffer interval ??? |`1`|
27
30
|`KAFKA_BUFFER_DYNAMIC`| No | The buffer interval ??? |`1`|
0 commit comments