Aleksandr Pilipenko created FLINK-36595:
-------------------------------------------

             Summary: Supported Flink version for connector documentation does 
not get matched for 1.20
                 Key: FLINK-36595
                 URL: https://issues.apache.org/jira/browse/FLINK-36595
             Project: Flink
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 1.20.0
            Reporter: Aleksandr Pilipenko
         Attachments: image-2024-10-24-00-30-43-909.png

Connector documentation does not pick up already released artifacts for Flink
Example:
Kafka Connector documentation

!image-2024-10-24-00-30-43-909.png!
h3. Root cause:

Flink version compatibility is set in connector documentation sources: 
[https://github.com/apache/flink-connector-kafka/blob/f4075ca1cd9aea4c915fe32207e736f267b6c3cf/docs/data/kafka.yml]
{code:yaml}
flink_compatibility: [1.19, 1.20]
{code}
Parsed config representation, used by connector artifact shortcodes is
{code:java}
flink_compatibility:[1.19 1.2]
{code}
Since Flink version is set in numeric format in config file, value 1.20 gets 
simplified to 1.2 leading comparison between "1.20" and "1.2" to fail.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to