[
https://issues.apache.org/jira/browse/NIFI-14630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17980029#comment-17980029
]
ASF subversion and git services commented on NIFI-14630:
--------------------------------------------------------
Commit e45d5d7d6fd0b31af3ac6ecbca51adfa0555a7d4 in nifi's branch
refs/heads/main from Peter Turcsanyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e45d5d7d6f ]
NIFI-14630 Corrected usage of KafkaClientComponent interface (#9993)
Signed-off-by: David Handermann <[email protected]>
> 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
> Time Spent: 50m
> Remaining Estimate: 0h
>
> 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)