Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.0
-
None
-
None
-
CP4.1, Centos7
Description
The bug is happening when you try to create new connector through for example kafka-connect-ui.
While both source and sink connectors were able to be validated through REST without "topics" as add-on with "connector.class" like this:
PUT / http://connect-url:8083/connector-plugins/com.datamountaineer.streamreactor.connect.cassandra.sink.CassandraSinkConnector/config/validate { "connector.class": "com.datamountaineer.streamreactor.connect.cassandra.sink.CassandraSinkConnector", }
In the new version of CP4.1 you still can validate source connectors but not sink connectors. If you want to validate sink connectors you need to add to request -> "topics" config, like:
PUT / http://connect-url:8083/connector-plugins/com.datamountaineer.streamreactor.connect.cassandra.sink.CassandraSinkConnector/config/validate { "connector.class": "com.datamountaineer.streamreactor.connect.cassandra.sink.CassandraSinkConnector", "topics": "test-topic" }
So there is a little missmatch of the ways how to validate connectors which I think happened accidentally.
Attachments
Issue Links
- relates to
-
KAFKA-6253 Improve sink connector topic regex validation
- Resolved
-
KAFKA-3073 KafkaConnect should support regular expression for topics
- Resolved