Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
There are some connector properties are lists. For example, Kafka connector specific properties have to been set in the following way:
'connector.properties.0.key' = 'zookeeper.connect', 'connector.properties.0.value' = 'localhost:2181', 'connector.properties.1.key' = 'bootstrap.servers', 'connector.properties.1.value' = 'localhost:9092', 'connector.properties.2.key' = 'group.id', 'connector.properties.2.value' = 'testGroup',
It is complex and not intuitive to define in this way. In order to cooperate with DDL better, we propose to flatten all the property keys.
It has some disadvantage to define in this way.
- Users need to keep track of the indices
- The key space is not constant. Validation of keys would require prefix magic and wildcards. Like in TableFactories: `connector.propertie.#.key`.
- It is complex and not intuitive to define and document.
See FLIP-86 for the proposed new properties.
Attachments
Issue Links
- links to