Skip to content

Support for brod_gssapi and other custom brod sasl authenticators #82

@ramonpin

Description

@ramonpin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions