KAFKA-1057 Trim whitespaces from user specified configs; reviewed by Neha Narkhede