[KAFKA-84] Validate the connection Created: 13/Feb/20 Updated: 28/Oct/23 Resolved: 16/Apr/20 |
|
| Status: | Closed |
| Project: | Kafka Connector |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.1 |
| Type: | Improvement | Priority: | Critical - P2 |
| Reporter: | Ross Lawley | Assignee: | Ross Lawley |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
In Config.Validate validate the connection.
|
| Comments |
| Comment by Githook User [ 16/Apr/20 ] |
|
Author: {'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}Message: Added MongoSinkConnector & MongoSourceConnector validation
|
| Comment by Ross Lawley [ 01/Apr/20 ] |
| Comment by Magesh kumar Nandakumar [ 25/Mar/20 ] |
|
The simplest way to this is to override the `validate` method in the connector. After that we need to invoke validate on super. We get back a result of ConfigInfos which includes any basic errors and also all the ConfigDef. We can update this ConfigDef if there are errors with connection, permissions, etc. |