Description
Creating a connector via the rest api runs into a NullPointerException, when omitting the name parameter in the request.
POST 127.0.0.1:8083/connectors { "config": { "connector.class": "org.apache.kafka.connect.tools.MockSourceConnector", "tasks.max": "1", "topics": "test-topic" } }
Results in a 500 return code, due to a NullPointerException being thrown when checking the name for slashes here. I believe this was introduced with the fix for KAFKA-4372
Attachments
Issue Links
- is superceded by
-
KAFKA-4930 Connect Rest API allows creating connectors with an empty name - KIP-212
- Resolved
- mentioned in
-
Page Loading...