-
Notifications
You must be signed in to change notification settings - Fork 2
/
example-config.edn
27 lines (27 loc) · 1.25 KB
/
example-config.edn
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
{ :jwt-secret "This secret ain't a secret, so don't use it, ya dog faced pony soldier. --Joe Biden, probably."
:port 3000
:internal-kafka-settings
{:crux.kafka/tx-topic "dataworks-internal.crux-transaction-log"
:crux.kafka/doc-topic "dataworks-internal.crux-docs"
:crux.kafka/replication-factor 3
:crux.kafka/doc-partitions 6
:crux.kv/db-dir "internal-data"
:crux.kafka/kafka-properties-map
{"bootstrap.servers" "<YOUR KAFKA BROKER>"
"security.protocol" "SASL_SSL"
"sasl.jaas.config" "org.apache.kafka.common.security.plain.PlainLoginModule required username=\"<YOUR PASSWORD>\" password=\"<YOUR PASSWORD>\"; "
"ssl.endpoint.identification.algorithm" "https "
"sasl.mechanism" "PLAIN "}}
:kafka-settings
{:crux.kafka/tx-topic "dataworks.crux-transaction-log"
:crux.kafka/doc-topic "dataworks.crux-docs"
:crux.kafka/replication-factor 3
:crux.kafka/doc-partitions 6
:crux.kv/db-dir "data"
:crux.kafka/kafka-properties-map
{"bootstrap.servers" "<YOUR KAFKA BROKER>"
"security.protocol" "SASL_SSL"
"sasl.jaas.config" "org.apache.kafka.common.security.plain.PlainLoginModule required username=\"<YOUR USERNAME>\" password=\"<YOUR PASSWORD>\"; "
"ssl.endpoint.identification.algorithm" "https"
"sasl.mechanism" "PLAIN"}}
}