datafibers-community / df_data_service

DataFibers Data Service
http://www.datafibers.com
Apache License 2.0
31 stars 30 forks source link

Connect/Transform connectorConfig.topics property cleanup #118

Open willddy opened 7 years ago

willddy commented 7 years ago

Currently, we connect support "topics", we use , to separate different topic. The new UI will send these as array for instead for better user experience.

We should convert this array to string with comma separator

{
    "description":"This is default description.",
    "connectorConfig":{
        "tasks.max":"1",
        "topics":["test_value","output_value"],
        "file.overwrite":true,
        "file.location":"/home/vagrant/df_data",
        "file.glob":"*.json"
    },
    "connectorType":"CONNECT_KAFKA_SOURCE_AVRO",
    "name":"test",
    "taskSeq":1
}
willddy commented 7 years ago
willddy commented 7 years ago

@SchubertZhu , you can test it.