[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.

  • Validate Connectivity
  • Validate the source/ Sink exists
  • Validate permissions to access source/sink


 Comments   
Comment by Githook User [ 16/Apr/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Added MongoSinkConnector & MongoSourceConnector validation

KAFKA-84
Branch: master
https://github.com/mongodb/mongo-kafka/commit/f2173bf848a7e6a5f9deba0404e4f2c4a36ed5b3

Comment by Ross Lawley [ 01/Apr/20 ]

PR: https://github.com/rozza/mongo-kafka/pull/13

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.

Generated at Thu Feb 08 09:05:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.