[
https://issues.apache.org/jira/browse/NIFI-14630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17956444#comment-17956444
]
Paul Grey commented on NIFI-14630:
----------------------------------
[~turcsanyip]
Thanks for working this; I am glad we are finding and fixing these rough edges
in the implementation.
> Correct usage of KafkaClientComponent interface
> -----------------------------------------------
>
> Key: NIFI-14630
> URL: https://issues.apache.org/jira/browse/NIFI-14630
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Peter Turcsanyi
> Assignee: Peter Turcsanyi
> Priority: Minor
>
> KafkaClientComponent interface defines component properties for configuring
> the Kafka connection (Bootstrap Servers, Security Protocol, etc.).
> Historically, the Kafka processors implemented this interface and used the
> properties.
> After the Kafka 3 redesign, the processors do not handle the Kafka connection
> anymore but PublishKafka still implements KafkaClientComponent without using
> the properties.
> On the hand, Kafka3ConnectionService duplicates the properties instead of
> implementing the interface (or using it as a static constant interface).
> Correct the interface usage: remove from PublishKafka, add in
> Kafka3ConnectionService.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)