# Kafka Integration

[Kafka](https://kafka.apache.org/) is a component in the Seldon Core 2 ecosystem, that provides scalable, reliable, and flexible communication for machine learning deployments. It serves as a strong backbone for building complex inference pipelines, managing high-throughput asynchronous predictions, and seamlessly integrating with event-driven systems—key features needed for contemporary enterprise-grade ML platforms.

An inference request is a request sent to a machine learning model to make a prediction or inference based on input data. It is a core concept in deploying machine learning models in production, where models serve predictions to users or systems in real-time or batch mode.

To explore this feature of Seldon Enterprise Platform, you need to integrate with Kafka. You can do so by either:

* integrating it through [managed solution within your cloud provider](/seldon-enterprise-platform/production-environment.md#managed-kafka) or
* by deploying it [directly within a Kubernetes cluster](/seldon-enterprise-platform/learning-environment/self-hosted-kafka.md).

{% hint style="info" %}
**Note**: Kafka is an external component outside the main Seldon stack. Therefore, it is the cluster administrator’s responsibility to administrate and manage the Kafka instance used by Seldon. For production installation it is highly recommended to use a managed Kafka instance.
{% endhint %}

For more information on how to set up a managed Kafka solution, refer to the following sections:

* [Configuration examples](/seldon-enterprise-platform/production-environment/kafka/managed-kafka.md#example-configurations-for-managed-kafka-services) provides the steps to configure some of the managed Kafka services.
* [Securing Kafka](/seldon-enterprise-platform/production-environment/kafka/managed-kafka.md#securing-managed-kafka-services) provides more information about the encryption and authentication.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.seldon.ai/seldon-enterprise-platform/production-environment/kafka.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
