Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We will add a `type` field to the array that indicates whether the given Connector is a Source or SInk. e.g.:

 

Code Block
[ 
  { 
HTTP/1.1 200 OK
Content-Type: application/json

{
    "name": "hdfs-sink-connector",
    "config": {
        "connector.class": "io.confluent.connect.hdfs.HdfsSinkConnector",
        "tasks.max": "10",
        "nametopics": "my-jdbc-source",
test-topic",
        "hdfs.url": "hdfs://fakehost:9000",
        "hadoop.conf.dir": "/opt/hadoop/conf",
        "hadoop.home": "/opt/hadoop",
        "typeflush.size": "source100",
        "rotate.interval.ms": "1000"
    },
    "type": "Sink",
    "tasks": [
        { "connector": "hdfs-sink-connector", "task": 1 },
        { "nameconnector": "my-hdfs-sink-connector", "task": 2 },
        { "typeconnector": "hdfs-sink-connector", "task": 3 }
    ]
}
]

 

Compatibility, Deprecation, and Migration Plan

...