If you have PLAINTEXTSASL enabled and you get the error similar as below:
WARN Bootstrap broker <host>:<port> (id: -2 rack: null) disconnected (org.apache.kafka.clients.NetworkClient)
You can try to fix it by adding a command option: –security-protocol PLAINTEXTSASL.