As stated in the documentation the BroadwayKafka.Producer module is able to pass any configuration on the client_config option down to the :brod.start_client/3.
Right now the code contains a validation that restricts the sasl configuration options to the values:
- {:sasl, {:plain, user, password}}
- {:sasl, {:scram_sha_256, user, password}}
- {:sasl, {:scram_sha_512, user, password}}
But :brod also supports using authentication plugins as:
- {:sasl, {:callback :module, opts}}
For example you can use GSSAPI auth with kerberos by using the brod_gssapi plugin and the following client configuration:
- {:sasl, {:callback, :brod_gssapi, {:gssapi, keytab, principal}}}
Are you considering to allow this functionality?