Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
themeRDark
titlepassword.conf
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
languagejs
themeRDark

To use Kafka: in network.conf, specify a Kafka section with the specifics to share with downstream nodes:

Code Block
languagejs
themeRDark
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
languagejs
themeRDark
       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.

...