You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Jeff Zemerick <jz...@apache.org> on 2019/08/01 11:57:45 UTC

Re: Configuration for custom authorizer

Answering my own question in case it helps someone else... The properties
provided to the authorizer's configure() function when Kafka is started are
taken from the server.properties file so there is no need to provide them
by any other means.

Thanks,
Jeff


On Tue, Jul 30, 2019 at 12:17 PM Jeff Zemerick <jz...@apache.org> wrote:

> Hi all,
>
> I'm implementing a custom authorizer using the Authorizer interface. In it
> there is a configure function that takes a map of properties. When using
> kafka-acl.sh those properties are passed via --authorizer-properties. How
> do I pass those properties to Kafka when the server starts in order to
> parameterize some functions of the authorizer?
>
> Thanks,
> Jeff
>