---
title: "Apache Kafka integration"
description: "Automate Apache Kafka with Activepieces: 2 actions and 2 triggers, no code needed. Open source and free to start."
url: https://www.activepieces.com/pieces/apache-kafka
updated: 2026-11-26
---

> Every page on www.activepieces.com is available as markdown: add `.md` to the URL, or send `Accept: text/markdown`. Site index: https://www.activepieces.com/llms.txt

# Apache Kafka integration

[Pieces](https://www.activepieces.com/pieces) › [Developer Tools](https://www.activepieces.com/pieces/category/developer_tools) › Apache Kafka

Publish and consume messages on an Apache Kafka cluster.

- **Actions:** 2
- **Triggers:** 2
- **Auth:** Custom auth
- **License:** MIT, open source
- **Updated:** November 2026
- **Categories:** Developer Tools

See also: [Use Apache Kafka with your AI](https://www.activepieces.com/mcp/apache-kafka)

## About the Apache Kafka integration

Add the Apache Kafka piece to a flow, connect your account once, and the rest of the builder can read from it and write to it. Because the piece is open source you can run it on our cloud or self-host it, and combine Apache Kafka with 770+ other apps in the same flow.

## Triggers (2)

Start a flow the moment something happens in Apache Kafka. Each trigger below can start a flow on its own, either instantly or on a schedule.

### New message in topic

Reads each new message on a topic, including its payload, key, partition, and offset. Messages are marked as read before the flow runs, so if a run fails, that message is not delivered again.

Fields: Topic (required), Consumer group (required), Max messages (required), Poll timeout (seconds) (required), Start from (required)

### New messages in topic

Reads a batch of new messages on a topic in one run. Messages are marked as read before the flow runs, so if a run fails, those messages are not delivered again.

Fields: Topic (required), Consumer group (required), Max messages (required), Poll timeout (seconds) (required), Start from (required)

## Actions (2)

Everything Activepieces can do in Apache Kafka. Drop any of these into a flow and fill in the fields. No code is required.

### Publish message

Publishes one message to a Kafka topic and returns its partition and offset.

Fields: Topic (required), Key, Value (required), Headers, Partition

### Publish messages

Publishes several messages to a Kafka topic in one step and returns a partition and offset for each.

Fields: Topic (required), Messages (required)

## Apache Kafka, answered.

### Is the Apache Kafka integration free?

Yes. Activepieces is open source and free to start, and the Apache Kafka piece is included on every plan, from the free cloud tier to any self-hosted deployment.

### How do I connect Apache Kafka?

Add the Apache Kafka piece to a flow, then authenticate with Custom auth. Once connected, its 2 triggers and 2 actions are available anywhere in the builder.

### What can I automate with Apache Kafka?

"New message in topic" can start a flow that runs "Publish message", and you can chain Apache Kafka together with any of 770+ other apps and AI steps in between.

### Can I self-host the Apache Kafka integration?

Yes. Activepieces is fully self-hostable, so you can run the Apache Kafka piece on your own infrastructure with your connections and your data staying in your environment.

### Can my AI agent use Apache Kafka as a tool?

Yes. Every piece you connect can be exposed over one Activepieces MCP server, so Claude, ChatGPT, Cursor or any MCP client can call Apache Kafka actions as tools.

## Guides using Apache Kafka

- [Redpanda Pricing: Plans and Costs Explained (2026)](https://www.activepieces.com/blog/redpanda-pricing-plans-and-costs-explained-2026): Redpanda pricing options vary significantly based on your deployment model and throughput needs. Use these details to select the most cost-effective tier.
- [Open Source Computer Software: Best Tools in 2026](https://www.activepieces.com/blog/popular-open-source-tools-in-2024-and-their-uses): Open source computer software lets anyone view, modify and share its code freely — see how it works and the best open-source tools for 2026.
- [Why Webhooks Arrive Out of Order (and How to Handle It)](https://www.activepieces.com/blog/why-webhooks-arrive-out-of-order-and-how-to-handle-it): Webhook event delivery relies on asynchronous network protocols that inherently allow packets to arrive out of sequence.
- [Qwen3.8 Flash Next (2026 Guide)](https://www.activepieces.com/blog/qwen38-flash-next-2026-guide): Qwen3.8 flash next provides the performance benchmarks and pricing tiers required to determine if this model fits your specific infrastructure budget.

## More developer tools integrations

- [Supabase](https://www.activepieces.com/pieces/supabase): The open-source Firebase alternative
- [GitHub](https://www.activepieces.com/pieces/github): Developer platform that allows developers to create, store, manage and share their code
- [AWS Lambda](https://www.activepieces.com/pieces/amazon-lambda): Invoke functions and watch for new ones
- [Backblaze](https://www.activepieces.com/pieces/backblaze): Scalable storage in the cloud
- [Datadog](https://www.activepieces.com/pieces/datadog): Cloud monitoring and analytics platform
- [YouTrack](https://www.activepieces.com/pieces/youtrack): JetBrains project management and issue tracking for agile teams.
