nickwallen commented on a change in pull request #1519: METRON-2265: Update
Kerberos settings
URL: https://github.com/apache/metron/pull/1519#discussion_r328166191
##########
File path:
metron-interface/metron-rest/src/main/java/org/apache/metron/rest/config/KafkaConfig.java
##########
@@ -76,7 +76,7 @@ public KafkaConfig(final Environment environment) {
props.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG,
"org.apache.kafka.common.serialization.StringDeserializer");
props.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG,
"org.apache.kafka.common.serialization.StringDeserializer");
if
(environment.getProperty(MetronRestConstants.KERBEROS_ENABLED_SPRING_PROPERTY,
Boolean.class, false)) {
- props.put("security.protocol",
KafkaUtils.INSTANCE.normalizeProtocol(environment.getProperty(MetronRestConstants.KAFKA_SECURITY_PROTOCOL_SPRING_PROPERTY)));
+ props.put("security.protocol", SecurityProtocol.SASL_PLAINTEXT.name());
Review comment:
Leaving this as a separate task makes the most sense to me. Let's just undo
this change then. Thanks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services