jikkou { kafka { client { bootstrap.servers = " {{- range $index, $instance := service "[[ .instance ]]-broker[[ .consul.suffix ]]" -}} {{ if ne $index 0 }},{{ end }}{{ $instance.Address }}:{{ $instance.Port }} {{- end -}} " security.protocol = "SSL" ssl.keystore.location = "/secrets/jikkou.p12" ssl.keystore.type = "PKCS12" ssl.keystore.password = "password" ssl.truststore.location = "/secrets/jikkou.ca.pem" ssl.truststore.type = "PEM" client.id = "[[ .instance ]]-jikkou" client.dns.lookup = "use_all_dns_ips" } } }