# 5. Which Kafka API should I use??

Which Kafka API should I use?

This is one of the most common question that I get:

> Which Kafka API should I use? Kafka Producer, Consumer, Connect, Streams?

I wrote a blog that I'm sure you'll find helpful if you also have that question: <https://medium.com/@stephane.maarek/the-kafka-api-battle-producer-vs-consumer-vs-kafka-connect-vs-kafka-streams-vs-ksql-ef584274c1e>


---

# 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://architectures.gitbook.io/project/apahce-kafka/learn-apache-kafka-for-beginners-v2/kafka-extended-apis-for-developers/5.-which-kafka-api-should-i-use.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.
