Flink CDC Issue Import created FLINK-34830:
----------------------------------------------
Summary: [3.1][cdc-composer] verify the options of Context for
Factory.
Key: FLINK-34830
URL: https://issues.apache.org/jira/browse/FLINK-34830
Project: Flink
Issue Type: Improvement
Components: Flink CDC
Reporter: Flink CDC Issue Import
### Search before asking
- [X] I searched in the
[issues|https://github.com/ververica/flink-cdc-connectors/issues] and found
nothing similar.
### Motivation
[Factory
interface|https://github.com/ververica/flink-cdc-connectors/blob/a26607a02767fcaba5eb3524fd0257973caac876/flink-cdc-common/src/main/java/com/ververica/cdc/common/factories/Factory.java#L54C1-L54C1]
defines a set of ConfigOption in requiredOptions and optionalOptions method,
we need to check them When using Factory.
We can do this before calling createDataSource and createDataSink method, you
can refer to
[FactoryUtil|https://github.com/apache/flink/blob/6c429c5450a003d6521693116e0fbb2dab543d6e/flink-table/flink-table-common/src/main/java/org/apache/flink/table/factories/FactoryUtil.java#L1000C25-L1000C25].
### Solution
_No response_
### Alternatives
_No response_
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
---------------- Imported from GitHub ----------------
Url: https://github.com/apache/flink-cdc/issues/2752
Created by: [lvyanquan|https://github.com/lvyanquan]
Labels: enhancement,
Created at: Sat Nov 25 17:42:41 CST 2023
State: open
--
This message was sent by Atlassian Jira
(v8.20.10#820010)