confluentinc / kafka-connect-jdbc

Kafka Connect connector for JDBC-compatible databases
Other
1.01k stars 953 forks source link

Mode config option is not marked as required #1404

Open Jeaksen opened 3 months ago

Jeaksen commented 3 months ago

When fetching config options from Kafka Connect REST API endpoint GET /connector-plugins/io.confluent.connect.jdbc.JdbcSourceConnector/config the only entries marked as required are:

However validating a config consisting only of those fields results in an error:

{
    "error_code": 500,
    "message": "org.apache.kafka.common.config.ConfigException: Query mode must be specified"
}

Specifying "mode" option fixes this error, however, it is not marked as required.