From 40c34e96dd0d7b41cd1f7f8b2437ccd8936a493c Mon Sep 17 00:00:00 2001 From: "Rajasa (RJ)" Date: Tue, 17 Dec 2019 14:03:39 -0800 Subject: [PATCH] Updated Schema Registry Tutorial with fixes to sasl property configs section (#87) --- tutorials/schema-registry/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/schema-registry/README.md b/tutorials/schema-registry/README.md index 0658db2..3505737 100644 --- a/tutorials/schema-registry/README.md +++ b/tutorials/schema-registry/README.md @@ -48,9 +48,9 @@ props.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, "mynamespace.servicebus.windo props.put(AbstractKafkaAvroSerDeConfig.SCHEMA_REGISTRY_URL_CONFIG, "http://:8081"); //Add these configs -props.put("security.protocol", "SASL_SSL") -props.put("sasl.mechanism","PLAIN") -props.put("sasl.jaas.config", "org.apache.kafka.common.security.plain.PlainLoginModule required username=\"$ConnectionString\" password=\"Endpoint=sb://mynamespace.servicebus.windows.net/;SharedAccessKeyName=XXXXXX;SharedAccessKey=XXXXXX\"); +props.put("security.protocol", "SASL_SSL"); +props.put("sasl.mechanism","PLAIN"); +props.put("sasl.jaas.config", "org.apache.kafka.common.security.plain.PlainLoginModule required username=\"$ConnectionString\" password=\"Endpoint=sb://mynamespace.servicebus.windows.net/;SharedAccessKeyName=XXXXXX;SharedAccessKey=XXXXXX\";"); ``` ## Send and receive