You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jinsui Chen (Jira)" <ji...@apache.org> on 2024/01/24 15:01:00 UTC
[jira] [Comment Edited] (FLINK-34193) Remove usage of Flink-Shaded Jackson and Snakeyaml in flink-connector-kafka
[ https://issues.apache.org/jira/browse/FLINK-34193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17810385#comment-17810385 ]
Jinsui Chen edited comment on FLINK-34193 at 1/24/24 3:00 PM:
--------------------------------------------------------------
I think it's useful to specify Jackson and SnakeYAML versions directly in the pom.xml file to address conflicts. Specifically, look for and replace references to org.apache.flink.shaded.* with standard Jackson and SnakeYAML libraries. If you think this solution suitable, feel free to assign the issue to me.
was (Author: JIRAUSER303504):
I think it's useful to specify Jackson and SnakeYAML versions directly in the pom.xml file to address conflicts. Specifically, look for and replace references to org.apache.flink.shaded.* with standard Jackson and SnakeYAML libraries. If you think this solution suitable, feel free to assign the issue to me.
> Remove usage of Flink-Shaded Jackson and Snakeyaml in flink-connector-kafka
> ---------------------------------------------------------------------------
>
> Key: FLINK-34193
> URL: https://issues.apache.org/jira/browse/FLINK-34193
> Project: Flink
> Issue Type: Technical Debt
> Components: Connectors / Kafka
> Reporter: Martijn Visser
> Priority: Critical
>
> The Flink Kafka connector doesn't have a direct dependency in the POM on flink-shaded, but it still uses the shaded versions of Jackson and SnakeYAML in {{YamlFileMetaDataService.java}} and {{KafkaRecordDeserializationSchemaTest}}
> Those cause problems when trying to compile the Flink Kafka connector for Flink 1.19, since these dependencies have been updated in there. Since connectors shouldn't rely on Flink-Shaded, we should refactor these implementations
--
This message was sent by Atlassian Jira
(v8.20.10#820010)