[Enhance](cdc) Add support for environment variable resolution in parameter mapping
Proposed changes
Problem Summary:
This PR adds support for resolving environment variables within the parameter mapping for CDC tools. It updates the getConfigMap method to substitute placeholders like $VAR or ${VAR} with their corresponding environment variable values.
Checklist(Required)
- Does it affect the original behavior: No
- Has unit tests been added: Yes
- Has document been added or modified: No
- Does it need to update dependencies: No
- Are there any changes that cannot be rolled back: No
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...
Thank you for your contribution, can this be added as a case, something like this? https://github.com/apache/doris-flink-connector/blob/master/flink-doris-connector/src/test/resources/container/e2e/mysql2doris/testMySQL2Doris.txt
Thank you for your contribution, can this be added as a case, something like this? https://github.com/apache/doris-flink-connector/blob/master/flink-doris-connector/src/test/resources/container/e2e/mysql2doris/testMySQL2Doris.txt
Hi @JNSimba, i already added an E2E test
ci failed, PTAL.@buu-nguyen