Improved parsing for Kafka bootstrap hosts.
Previously, spaces following commas in the Kafka bootstrap hosts list were included in the parsing result.
This inclusion led to connection timeouts or DNS resolution failures due to the malformed host entries.