# Kafka


{{< alert enterprise >}}
Enhanced usage of this feature is available with Gatling Enterprise. [Explore our plans to learn more](https://gatling.io/pricing?utm_source=docs).
{{< /alert >}}

[Apache Kafka](https://kafka.apache.org/) is a distributed event streaming platform.
With the Gatling Kafka plugin, you can load test Kafka brokers and the systems built around them.

Gatling supports:

- producing records, with a key, headers, and a partition, and a value from any Gatling body
- request-reply, measuring the time until the reply to a request is read
- waiting for a record that another system produces, measuring the end-to-end latency of a pipeline, by blocking the virtual user or with subscriptions that let it continue
- checks on the value, the key, and the headers of the records read
- Avro, Protobuf, and JSON Schema keys and values, with a schema registry
- SASL authentication (PLAIN, SCRAM, OAUTHBEARER, AWS MSK IAM, and GSSAPI) and TLS


## Pages in this section
- [Actions](https://docs.gatling.io/reference/script/kafka/actions/index.md): How to produce Kafka records with Gatling, measure request-reply latency, and wait for the records another system produces, blocking or not, to measure end-to-end latency.
- [Checks](https://docs.gatling.io/reference/script/kafka/checks/index.md): How to check the replies and the consumed records of Kafka actions with Gatling, including their value, key, and headers.
- [Kafka Protocol](https://docs.gatling.io/reference/script/kafka/protocol/index.md): How to configure the Kafka protocol in Gatling, including the brokers, the client properties, SASL and TLS security, reply matching, and producer performance.
- [Project Setup](https://docs.gatling.io/reference/script/kafka/setup/index.md): How to set up your project to use the Gatling Kafka protocol, including the plugin dependency and the optional libraries.
- [Schema Registry](https://docs.gatling.io/reference/script/kafka/schema-registry/index.md): How to produce Avro, Protobuf, and JSON Schema keys and values with a Confluent schema registry in Gatling, and how to decode and check the replies.
