...
Considering the following configurations:
follower.replication.throttled.replicas
leader.replication.throttled.replicas
client.id
access.control.allow.methods
access.control.allow.origin
metric.reporters
rest.extension.classes
All of the above contain default empty string values and there is nothing prevent them to be set to null. Having read the documentation the caller might easily think that the value of the above configuration can't be null given it's initial value is empty string. Consequently, they forget the null check and hit NullPointerException when these configuration are indeed `null`. The users can write code like `leaderConfig.value().length() == 0` which throws a NullPointerException in execution.
...