Make sure you have a DNS resolver configured

in order to resolve kafka broker names.