merrimanr commented on a change in pull request #1519: METRON-2265: Update
Kerberos settings
URL: https://github.com/apache/metron/pull/1519#discussion_r328143761
##########
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:
There is a separate task for removing this:
https://issues.apache.org/jira/browse/METRON-2171. This was a mistake, I
intended to leave this work for that task. If making this change in the places
you listed is all that is needed, I don't mind doing it here.
----------------------------------------------------------------
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