raphael auv created KAFKA-12871:
-----------------------------------
Summary: Kafka-connect : rest api connect config, fields are not
ordered
Key: KAFKA-12871
URL: https://issues.apache.org/jira/browse/KAFKA-12871
Project: Kafka
Issue Type: Improvement
Reporter: raphael auv
We you query the rest api of kafka-connect o get the config of a connector the
fields are not ordered in alphabetical order
[http://my_kafka_connect_cluster:8083/connectors/my_connector_1/]
answer :
{code:java}
{
"name":"my_connector_1",
"config":{
"connector.class":"Something",
"errors.log.include.messages":"true",
"tasks.max":"2",
"buffer.flush.time":"300",
"topics.regex":"^(?:.*",
"errors.deadletterqueue.context.headers.enable":"true",
"buffer.count.records":"1000000",
"name":"my_connector_1",
"errors.log.enable":"true",
"key.converter":"org.apache.kafka.connect.storage.StringConverter",
"buffer.size.bytes":"20000000"
},
"tasks":[
{
"connector":"my_connector_1",
"task":0
},
{
"connector":"my_connector_1",
"task":1
}
],
"type":"sink"
}{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)