Skip to content

Commit

Permalink
fixup! [import] allow configuring Kafka tables for use of SASL authen…
Browse files Browse the repository at this point in the history
…tication
  • Loading branch information
NicoK committed Sep 24, 2021
1 parent 3ca1eea commit 3504ef2
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,15 @@ public static void main(String[] args) {
+ "'properties.bootstrap.servers' = '"
+ kafkaServer
+ "',\n"
+ (kafkaSecurityProtocol != null
? "'properties.security.protocol' = '" + kafkaSecurityProtocol + "',\n"
: "")
+ (kafkaSaslMechanism != null
? "'properties.sasl.mechanism' = '" + kafkaSaslMechanism + "',\n"
: "")
+ (kafkaSaslJaasConfig != null
? "'properties.sasl.jaas.config' = '" + kafkaSaslJaasConfig + "',\n"
: "")
+ "'properties.max.request.size' = '"
+ 20 * 1024 * 1024
+ "',"
Expand All @@ -145,6 +154,15 @@ public static void main(String[] args) {
+ "'properties.bootstrap.servers' = '"
+ kafkaServer
+ "',\n"
+ (kafkaSecurityProtocol != null
? "'properties.security.protocol' = '" + kafkaSecurityProtocol + "',\n"
: "")
+ (kafkaSaslMechanism != null
? "'properties.sasl.mechanism' = '" + kafkaSaslMechanism + "',\n"
: "")
+ (kafkaSaslJaasConfig != null
? "'properties.sasl.jaas.config' = '" + kafkaSaslJaasConfig + "',\n"
: "")
+ "'properties.max.request.size' = '"
+ 20 * 1024 * 1024
+ "',"
Expand Down

0 comments on commit 3504ef2

Please sign in to comment.