Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-35467

The flink-cdc.sh script of flink-cdc-3.1.0 cannot read the correct Flink configuration information specified by the flink-conf.yaml through the FLINK_CONF_DIR environment variable.

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • cdc-3.1.0
    • None
    • Flink CDC
    • Environment Information:
      flink-1.17.1
      flink-cdc-3.1.0

    Description

      Problem Description:
      When starting our Flink service, we use the FLINK_CONF_DIR environment variable to specify the flink-conf.yaml to a directory other than $FLINK_HOME/conf. The flink-conf.yaml directory under $FLINK_HOME/conf is incorrect.

      When submitting CDC tasks using the flink-cdc.sh script of flink-cdc-3.1.0, we attempted to let flink-cdc read information from the correct flink-conf.yaml configuration file through the FLINK_CONF_DIR environment variable. However, it failed, and it still reads the configuration information from the flink-conf.yaml under $FLINK_HOME/conf, causing task submission failures.

      Attachments

        Issue Links

          Activity

            tianzhu.wen_1998 tianzhu.wen added a comment -

            I have work on this issue with pr: https://github.com/apache/flink-cdc/pull/3398, xjtulg PTAL.

            tianzhu.wen_1998 tianzhu.wen added a comment - I have work on this issue with pr: https://github.com/apache/flink-cdc/pull/3398, xjtulg PTAL.

            People

              Unassigned Unassigned
              xjtulg Justin.Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: