-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
None
-
False
Feature request or enhancement
For feature requests or enhancements, provide this information, please:
Which use case/requirement will be addressed by the proposed feature?
Background: Currently when Debezium can not locate the config file in the specified location, it gives an indication of the first element missing. This doesn't help understanding where Debezium is looking for the file. If the file can be read by Debezium (permission or IO problem) etc
Story: As a Debezium Server user I would like Debezium to give me clear indication it can reach, read and validate my config file so that I can easily fix if something is wrong
Acceptance:
Given a Debezium Server installation and a path to the config file without a config file there
When I run Debezium Server then I get a message:
Debezium is looking for configuration file <PATH>/application.properties but this file can not be found
Given a Debezium Server installation and a path to the config file with a config file there but with permissions that do not allow Debezium to read it
When I run Debezium Server then I get a message:
Debezium can not read file : <PATH>/application.properties permission denied
Given a Debezium Server installation and a path to the config file with a config file there but the file is malformed (format problem or some property is missing)
then I get a message indicating what the problem is
Implementation ideas (optional)
add validation to the methods load of class Builder in Configuration