You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chris Egerton (Jira)" <ji...@apache.org> on 2024/05/07 15:32:00 UTC
[jira] [Resolved] (KAFKA-13328) Connect does not perform preflight validation for per-connector header converters
[ https://issues.apache.org/jira/browse/KAFKA-13328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Egerton resolved KAFKA-13328.
-----------------------------------
Fix Version/s: 3.8.0
Resolution: Fixed
> Connect does not perform preflight validation for per-connector header converters
> ---------------------------------------------------------------------------------
>
> Key: KAFKA-13328
> URL: https://issues.apache.org/jira/browse/KAFKA-13328
> Project: Kafka
> Issue Type: Bug
> Components: connect
> Reporter: Chris Egerton
> Assignee: Chris Egerton
> Priority: Major
> Fix For: 3.8.0
>
>
> Users may specify a header converter class for their connector directly in the configuration for that connector. If this occurs, no preflight validation is performed to ensure that the specified converter is valid.
> {{HeaderConverter}} implementations are required to provide a valid {{ConfigDef}} to the Connect framework via [HeaderConverter::config|https://github.com/apache/kafka/blob/4eb386f6e060e12e1940c0d780987e3a7c438d74/connect/api/src/main/java/org/apache/kafka/connect/storage/HeaderConverter.java#L48-L52], but this object isn't actually leveraged anywhere by Connect.
> Connect should make use of this config object during preflight validation for connectors to fail faster when their header converters are misconfigured.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)