nandorsoma commented on PR #6978: URL: https://github.com/apache/nifi/pull/6978#issuecomment-1445231583
Ok, after a second round of investigation, you can disregard my previous comment. So it seems like the `KERBEROS_SERVICE_NAME` property is actually used, but the references are weak, so it is really hard to find the connection. The `StandardKafkaPropertyProvider` will pick up all PropertyDescriptors that's name matches a standard kafka property name. Corresponding code can be found [here](https://github.com/apache/nifi/blob/eb5d172693fcaa24804d9e5d7ab3fd77193efc14/nifi-nar-bundles/nifi-kafka-bundle/nifi-kafka-shared/src/main/java/org/apache/nifi/kafka/shared/property/provider/StandardKafkaPropertyProvider.java#L122). After that serviceName will be set based on those properties in the [CustomKerberosLogin](https://github.com/apache/nifi/blob/8e417c890ade95b308a6c24e8f816eb58bf33aa8/nifi-nar-bundles/nifi-kafka-bundle/nifi-kafka-2-6-processors/src/main/java/org/apache/nifi/processors/kafka/pubsub/CustomKerberosLogin.java#L73) class which is, again, weakly configured [here](https://gi thub.com/apache/nifi/blob/eb5d172693fcaa24804d9e5d7ab3fd77193efc14/nifi-nar-bundles/nifi-kafka-bundle/nifi-kafka-shared/src/main/java/org/apache/nifi/kafka/shared/property/provider/StandardKafkaPropertyProvider.java#L58). -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
