报错信息:No provider for SASL mechanism GSSAPI: recompile librdkafka with libsasl2 or openssl support. Current build options: PLAIN SASL_SCRAM OAUTHBEARER
解决方案:需要配置编译选项:
Debian/Ubuntu:
sudo apt-get install libsasl2-modules-gssapi-mit libsasl2-dev
CentOS/Redhat:
sudo yum install cyrus-sasl-gssapi cyrus-sasl-devel
server端配置