Page History
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
shrine.kafka.sasl.jaas.username = "andminUsername" |
TODO - what's the final list? current code requires shrine.kafka.ssl.truststore.password = "dummy-password" but doesn't use it. (And ssl.truststore.location = "/dummy/location" in shrine.conf)
network.conf
Code Block | ||||
---|---|---|---|---|
| ||||
To use Kafka: in network.conf, specify a Kafka section with the specifics to share with downstream nodes:
Code Block | ||||
---|---|---|---|---|
| ||||
shrine {
network {
network {
name = "Network Name"
hubQueueName = "hub"
adminEmail = "yourEmail@yourhospital.edu"
momId = "hubUsername"
kafka = {
networkPrefix = "BestNetwork"
bootstrapServers = "YourBootstrap1:Port,YourBootstrap2:Port,YourBootstrap3:Port"
securityProtocol = "SASL_SSL"
securityMechanism = "SCRAM-SHA-512"
}
}
nodes = [
{
name = "Hub's node"
key = "hub-node"
userDomainName = "network-hub"
queueName = "hubNode"
sendQueries = "false"
adminEmail = "yourEmail@yourhospital.edu"
momId = "hubUsername"
}
]
}
} |
TODO current code uses something less secure. What's right?
Code Block | ||||
---|---|---|---|---|
| ||||
kafka = { networkPrefix = "shrinedev" bootstrapServers = "kafka-1.catalyst.harvard.edu:9092,kafka-2.catalyst.harvard.edu:9092,kafka-3.catalyst.harvard.edu:9092" securityProtocol = "SASL_PLAINTEXT" securityMechanism = "PLAIN" } |
Choose a network prefix. This will be prepended to queue names to allow managing multiple networks on the same Kafka cluster.
...
Overview
Content Tools