Description
While working on Debezium I discovered the following issue:
When Kafka's ConfigDef renders the HTML or RST documentation representation of the config definition, it requires `ConfigKey.documentation` member variable to be a java.lang.String instance that's set to an actual value different than NULL, else NPE happens:
b.append(key.documentation.replaceAll("\n", "<br>"));
for (String docLine : key.documentation.split("\n")) {
When `documentation` is not set/NULL I suggest to either set a valid String like "No documentation available" or skip that config key.
I could provide a PR to fix this soon.
Attachments
Issue Links
- links to