[ 
https://issues.apache.org/jira/browse/FLINK-32024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Weijie Guo updated FLINK-32024:
-------------------------------
    Description: 
Currently, we have some shortcodes specifically designed for externalized 
connector, such as {{connectors_artifact}}, {{sql_connector_download_table}}, 
etc.

When using them, we need to pass in a version number, such as 
{{sql_connector_download_table "pulsar" 3.0.0}}.  It's easy for us to forget to 
modify the corresponding version in the document when releasing a new version.

Of course, we can hard code these into the release process. But perhaps we can 
introduce a version field to {{docs/data/connector_name.yml}} and let flink 
directly reads the corresponding version when rendering shortcode.

  was:
Currently, we have some shortcodes specifically designed for externalized 
connector, such as {{connectors_artifact}}, {{sql_connector_download_table}}, 
etc.

When using them, we need to pass in a version number, such as 
{{sql_connector_download_table "pulsar" 3.0.0}}.  It's easy for us to forget to 
modify the corresponding version in the document when releasing a new version.

Of course, we can hard code these into the release process. But perhaps we can 
introduce a version field to {{docs/data/connector_name.yml}}, where flink 
directly reads the corresponding version when rendering shortcode.


> Short code related to external connector retrieve version from its own data 
> yaml
> --------------------------------------------------------------------------------
>
>                 Key: FLINK-32024
>                 URL: https://issues.apache.org/jira/browse/FLINK-32024
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / Common
>    Affects Versions: 1.18.0
>            Reporter: Weijie Guo
>            Assignee: Weijie Guo
>            Priority: Major
>
> Currently, we have some shortcodes specifically designed for externalized 
> connector, such as {{connectors_artifact}}, {{sql_connector_download_table}}, 
> etc.
> When using them, we need to pass in a version number, such as 
> {{sql_connector_download_table "pulsar" 3.0.0}}.  It's easy for us to forget 
> to modify the corresponding version in the document when releasing a new 
> version.
> Of course, we can hard code these into the release process. But perhaps we 
> can introduce a version field to {{docs/data/connector_name.yml}} and let 
> flink directly reads the corresponding version when rendering shortcode.



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

Reply via email to