# Kafka Proxy Configuration

The `kafka-proxy` plugin supplies SASL/PLAIN credentials when gateway clients list offsets and fetch Kafka records through a protobuf WebSocket API.<!-- --> <!-- -->Configuration covers plugin parameters.

## Parameters[​](#parameters "Direct link to Parameters")

See plugin [common configurations](https://docs.api7.ai/apisix/reference/plugin-common-configurations.md) for configuration options available to all plugins.

* sasl

  object

  ***

  SASL/PLAIN credentials used by the gateway when it connects to Kafka brokers. Omit this object when the brokers do not require SASL authentication.

  * username

    string

    required

    ***

    SASL/PLAIN username.

  * password

    string

    required

    ***

    SASL/PLAIN password. This field is marked for encrypted storage when gateway data encryption is enabled.

    Protect the plaintext value in declarative files and secret-delivery workflows.
