# \#kafka

**URL:** https://forum.elixirforum.com/tag/kafka/698.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Klife - A Kafka client with performance gains over 10x](https://forum.elixirforum.com/t/klife-a-kafka-client-with-performance-gains-over-10x/67040)

<div class="topic-metadata">

**Author:** [@oliveiragahenrique](https://forum.elixirforum.com/u/oliveiragahenrique)\
**Replies:** 31\
**Last updated:** [June 13, 2026, 4:55am UTC](https://forum.elixirforum.com/t/klife-a-kafka-client-with-performance-gains-over-10x/67040 "2026-06-13T04:55:21Z")

</div>

Announcing Klife: A High-Performance Kafka Client for Elixir I’m thrilled to share the next chapter in a journey that began a couple of years ago—introducing Klife, a Kafka client for Elixir, designed with a strong focus…

---

## [Robust processing architecture to monitor a very high number of Nerves devices](https://forum.elixirforum.com/t/robust-processing-architecture-to-monitor-a-very-high-number-of-nerves-devices/73481)

<div class="topic-metadata">

**Author:** [@arcyfelix](https://forum.elixirforum.com/u/arcyfelix)\
**Replies:** 10\
**Last updated:** [November 30, 2025, 8:45pm UTC](https://forum.elixirforum.com/t/robust-processing-architecture-to-monitor-a-very-high-number-of-nerves-devices/73481 "2025-11-30T20:45:54Z")

</div>

Hello lovely people of the Elixir community! I’m working on a system to monitor Nerves devices to ensure they maintain constant internet connectivity. I’d love to get your thoughts on the architecture I’m considering. T…

---

## [Supercharging Kafka Processing with Broadway: Achieving Unmatched Parallelism and Efficiency](https://forum.elixirforum.com/t/supercharging-kafka-processing-with-broadway-achieving-unmatched-parallelism-and-efficiency/71454)

<div class="topic-metadata">

**Author:** [@ElixirConf](https://forum.elixirforum.com/u/ElixirConf)\
**Replies:** 1\
**Last updated:** [August 27, 2025, 11:54am UTC](https://forum.elixirforum.com/t/supercharging-kafka-processing-with-broadway-achieving-unmatched-parallelism-and-efficiency/71454 "2025-08-27T11:54:46Z")

</div>

Supercharging Kafka Processing with Broadway: Achieving Unmatched Parallelism and Efficiency Comments welcome! View the elixirconf tag for more ElixirConf talks!

---

## [Integrating with AWS\_MSK\_IAM using :brod and BroadwayKafka](https://forum.elixirforum.com/t/integrating-with-aws-msk-iam-using-brod-and-broadwaykafka/71886)

<div class="topic-metadata">

**Author:** [@dvogiatz](https://forum.elixirforum.com/u/dvogiatz)\
**Replies:** 0\
**Last updated:** [July 30, 2025, 2:23pm UTC](https://forum.elixirforum.com/t/integrating-with-aws-msk-iam-using-brod-and-broadwaykafka/71886 "2025-07-30T14:23:03Z")

</div>

Hello everyone, We are currently in the process of migrating our infrastructure from self-hosted to full on AWS. Our DevOps team created an MSK cluster using IAM authentication. I’m currently trying to connect using :b…

---

## [Does Elixir/Erlang eliminate the need for Kafka?](https://forum.elixirforum.com/t/does-elixir-erlang-eliminate-the-need-for-kafka/64950)

<div class="topic-metadata">

**Author:** [@AppleKid7](https://forum.elixirforum.com/u/AppleKid7)\
**Replies:** 8\
**Last updated:** [March 10, 2025, 12:46am UTC](https://forum.elixirforum.com/t/does-elixir-erlang-eliminate-the-need-for-kafka/64950 "2025-03-10T00:46:01Z")

</div>

Hi all, I’m new to Elixir and not yet super experienced in distributed systems in general and just recently started learning. I’m pretty interested and really like what I’ve seen of Elixir so far! This might be a stupid…

---

## [Issue when using Brod: Bad generator when I run create\_topic](https://forum.elixirforum.com/t/issue-when-using-brod-bad-generator-when-i-run-create-topic/68723)

<div class="topic-metadata">

**Author:** [@popotte](https://forum.elixirforum.com/u/popotte)\
**Replies:** 0\
**Last updated:** [January 14, 2025, 7:06pm UTC](https://forum.elixirforum.com/t/issue-when-using-brod-bad-generator-when-i-run-create-topic/68723 "2025-01-14T19:06:31Z")

</div>

Hello :slightly\_smiling\_face: I have a problem with brod, I try to create a topic from brod : use GenServer def start\_link do GenServer.start\_link(\_\_MODULE\_\_, :ok, name: \_\_MODULE\_\_) end @impl true def ini…

---

## [Kaffe Dependency keeps on giving the same error "Could not compile dependency :brod"](https://forum.elixirforum.com/t/kaffe-dependency-keeps-on-giving-the-same-error-could-not-compile-dependency-brod/68016)

<div class="topic-metadata">

**Author:** [@necromorph23](https://forum.elixirforum.com/u/necromorph23)\
**Replies:** 2\
**Last updated:** [December 12, 2024, 2:07pm UTC](https://forum.elixirforum.com/t/kaffe-dependency-keeps-on-giving-the-same-error-could-not-compile-dependency-brod/68016 "2024-12-12T14:07:37Z")

</div>

I am trying to install kaffe in my project. But i keep on getting this error when i do mix deps.compile Generated nimble\_options app ===\> Analyzing applications... ===\> Compiling brod ===\> Compiling src/brod\_group\_membe…

---

## [Podcast: Thinking Elixir 227 - Oban Web Goes Open Source?](https://forum.elixirforum.com/t/podcast-thinking-elixir-227-oban-web-goes-open-source/67260)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [November 5, 2024, 1:17pm UTC](https://forum.elixirforum.com/t/podcast-thinking-elixir-227-oban-web-goes-open-source/67260 "2024-11-05T13:17:32Z")

</div>

Episode 227 of Thinking Elixir. News includes Oban Web going open source, making it more accessible for startups, a new community resource featuring over 80 Phoenix LiveView components, interesting insights from a fronte…

---

## [Klife Protocol - Kafka protocol library using message definitions](https://forum.elixirforum.com/t/klife-protocol-kafka-protocol-library-using-message-definitions/55865)

<div class="topic-metadata">

**Author:** [@oliveiragahenrique](https://forum.elixirforum.com/u/oliveiragahenrique)\
**Replies:** 4\
**Last updated:** [October 28, 2024, 1:17am UTC](https://forum.elixirforum.com/t/klife-protocol-kafka-protocol-library-using-message-definitions/55865 "2024-10-28T01:17:16Z")

</div>

Klife Protocol link: GitHub - oliveigah/klife\_protocol: Elixir implementation of the kafka protocol · GitHub I’m thrilled to share that I’ve just completed the initial version of the docs for Klife Protocol. While it’s …

---

## [Kafka\_ex :unsupported\_version](https://forum.elixirforum.com/t/kafka-ex-unsupported-version/53986)

<div class="topic-metadata">

**Author:** [@eddy147](https://forum.elixirforum.com/u/eddy147)\
**Replies:** 2\
**Last updated:** [October 3, 2024, 12:56pm UTC](https://forum.elixirforum.com/t/kafka-ex-unsupported-version/53986 "2024-10-03T12:56:44Z")

</div>

On our staging server we have Kafka 2.8.1 installed. Running our app with kafka\_ex 0.13 gives a :unsupported\_version error: (our app is called dockr, not a typo ) | 10:00:39.308 \[error\] GenServer #PID\<0.1259.0\> termina…

---

## [Phoenix\_pubsub\_buffered - An in-memory downtime-tolerant pubsub adapter](https://forum.elixirforum.com/t/phoenix-pubsub-buffered-an-in-memory-downtime-tolerant-pubsub-adapter/63302)

<div class="topic-metadata">

**Author:** [@enewbury](https://forum.elixirforum.com/u/enewbury)\
**Replies:** 9\
**Last updated:** [May 8, 2024, 1:09am UTC](https://forum.elixirforum.com/t/phoenix-pubsub-buffered-an-in-memory-downtime-tolerant-pubsub-adapter/63302 "2024-05-08T01:09:33Z")

</div>

Hi folks, looking for feedback on this new Phoenix pubsub adapter. It’s meant to be an in-memory lightweight substitute to using something like kafka or postgres WAL replication where it persists messages, and a set of c…

---

## [What Kafka client do you recommend?](https://forum.elixirforum.com/t/what-kafka-client-do-you-recommend/48075)

<div class="topic-metadata">

**Author:** [@tomekowal](https://forum.elixirforum.com/u/tomekowal)\
**Replies:** 12\
**Last updated:** [February 27, 2024, 1:29pm UTC](https://forum.elixirforum.com/t/what-kafka-client-do-you-recommend/48075 "2024-02-27T13:29:19Z")

</div>

We’d like to start using RedPanda at work and I am hunting for a Kafka client library. There are three options I’ve seen so far: kafka\_ex. It looks like it is in a transition period between 0.x to 1.x. There is KafkaE…

---

## [Integration Tests with Kafka](https://forum.elixirforum.com/t/integration-tests-with-kafka/61249)

<div class="topic-metadata">

**Author:** [@tadeifelipe](https://forum.elixirforum.com/u/tadeifelipe)\
**Replies:** 2\
**Last updated:** [January 26, 2024, 3:06pm UTC](https://forum.elixirforum.com/t/integration-tests-with-kafka/61249 "2024-01-26T15:06:23Z")

</div>

Hello, everyone! I’ve started learning for a technical interview involving the use of an API to send messages to a Kafka Cluster. I’ve observed a limited number of examples for using Kafka with Elixir. Perhaps I should…

---

## [No rejoin after connect issue in brod/broadway\_kafka](https://forum.elixirforum.com/t/no-rejoin-after-connect-issue-in-brod-broadway-kafka/49142)

<div class="topic-metadata">

**Author:** [@anoskov](https://forum.elixirforum.com/u/anoskov)\
**Replies:** 2\
**Last updated:** [December 1, 2023, 11:15pm UTC](https://forum.elixirforum.com/t/no-rejoin-after-connect-issue-in-brod-broadway-kafka/49142 "2023-12-01T23:15:19Z")

</div>

Hello! We have some issue with brod and broadway\_kafka in kubernetes. When the service starts all consumers join to group and works fine. But after some time we got 2022-07-24 16:05:04.207 pid=\<0.7117.24\> \[info\] Group …

---

## [Ukaza Perdana - looking for remote Elixir job.](https://forum.elixirforum.com/t/ukaza-perdana-looking-for-remote-elixir-job/58983)

<div class="topic-metadata">

**Author:** [@ukazap](https://forum.elixirforum.com/u/ukazap)\
**Replies:** 0\
**Last updated:** [October 15, 2023, 12:02am UTC](https://forum.elixirforum.com/t/ukaza-perdana-looking-for-remote-elixir-job/58983 "2023-10-15T00:02:15Z")

</div>

Hi, my name is Ukaza Perdana, I am a software developer based in Indonesia (UTC+7). I am looking for Elixir job, remote preferred, but I’m willing to relocate within Asia/Oceania/Europe if so required. I have been using…

---

## [Postgrex error(citext extension) from Broadway Kafka consumer](https://forum.elixirforum.com/t/postgrex-error-citext-extension-from-broadway-kafka-consumer/51508)

<div class="topic-metadata">

**Author:** [@freevova](https://forum.elixirforum.com/u/freevova)\
**Replies:** 0\
**Last updated:** [November 2, 2022, 3:39pm UTC](https://forum.elixirforum.com/t/postgrex-error-citext-extension-from-broadway-kafka-consumer/51508 "2022-11-02T15:39:01Z")

</div>

Hi there :wave: I have a Broadway Kafka Consumer, which consumes some data from Kafka: defmodule KafkaConsumer do use Broadway alias Broadway.{Message, BatchInfo} alias Company def start\_link(opts) do Broa…

---

## [Can Brod get/set topic retention?](https://forum.elixirforum.com/t/can-brod-get-set-topic-retention/49712)

<div class="topic-metadata">

**Author:** [@1stSolo](https://forum.elixirforum.com/u/1stSolo)\
**Replies:** 5\
**Last updated:** [August 25, 2022, 1:31am UTC](https://forum.elixirforum.com/t/can-brod-get-set-topic-retention/49712 "2022-08-25T01:31:54Z")

</div>

So far I hadn’t been able to figure out how to get or set topic retention values for kafka topics via brod, using versions up to 3.16.3. I can set it when creating a topic by passing name-value pairs when creating topic. …

---

## [Broadway Kafka only one 1 node consuming messages](https://forum.elixirforum.com/t/broadway-kafka-only-one-1-node-consuming-messages/49648)

<div class="topic-metadata">

**Author:** [@darnahsan](https://forum.elixirforum.com/u/darnahsan)\
**Replies:** 1\
**Last updated:** [August 19, 2022, 3:20am UTC](https://forum.elixirforum.com/t/broadway-kafka-only-one-1-node-consuming-messages/49648 "2022-08-19T03:20:18Z")

</div>

I have a phoenix app running in 2 containers both connected to redpanda(zookeeper less kafka) but I only see 1 node consuming messages from the topic, topic has only 1 partition. Below is my setup code. If I understand c…

---

## [Kafka client GenServer restarting](https://forum.elixirforum.com/t/kafka-client-genserver-restarting/49427)

<div class="topic-metadata">

**Author:** [@1stSolo](https://forum.elixirforum.com/u/1stSolo)\
**Replies:** 2\
**Last updated:** [August 9, 2022, 12:51am UTC](https://forum.elixirforum.com/t/kafka-client-genserver-restarting/49427 "2022-08-09T00:51:11Z")

</div>

I have a usecase where kafka endpoind information is entered by user. The endpoint is bound into Brod Client I’m starting and if that succeeds I start a Producer from that Client. If something fails, the GenServer is con…

---

## [Podcast: ThinkingElixir 097 - Avro and Elixir with Dave Lucia](https://forum.elixirforum.com/t/podcast-thinkingelixir-097-avro-and-elixir-with-dave-lucia/47550)

<div class="topic-metadata">

**Author:** [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Replies:** 0\
**Last updated:** [May 3, 2022, 1:12pm UTC](https://forum.elixirforum.com/t/podcast-thinkingelixir-097-avro-and-elixir-with-dave-lucia/47550 "2022-05-03T13:12:01Z")

</div>

In episode 97 of Thinking Elixir, Dave Lucia released v2.0 of AvroEx, an Elixir library for working with Avro protocols and schemas. To understand Avro, we need an overview of the whole Kafka-centric flow! He gives us a …

---

## [Weird latency in Broadway/Kafka](https://forum.elixirforum.com/t/weird-latency-in-broadway-kafka/46920)

<div class="topic-metadata">

**Author:** [@ihorkatkov](https://forum.elixirforum.com/u/ihorkatkov)\
**Replies:** 0\
**Last updated:** [March 30, 2022, 4:50pm UTC](https://forum.elixirforum.com/t/weird-latency-in-broadway-kafka/46920 "2022-03-30T16:50:02Z")

</div>

Good day everyone. We are using Broadway/Kafka. Most of the time, our consumers handle messages under 20ms, but sometimes we see spikes in latency up to 700-800ms. The weird thing is that as per broadway.processor.messa…

---

## [Which Kafka lib are you using? How stable is it?](https://forum.elixirforum.com/t/which-kafka-lib-are-you-using-how-stable-is-it/4891)

<div class="topic-metadata">

**Author:** [@andre1sk](https://forum.elixirforum.com/u/andre1sk)\
**Replies:** 10\
**Last updated:** [September 9, 2021, 4:01pm UTC](https://forum.elixirforum.com/t/which-kafka-lib-are-you-using-how-stable-is-it/4891 "2021-09-09T16:01:27Z")

</div>

Subj. Will really appreciate learning about your experience using Elixir and or Erlang with Kafka.

---

## [How to support client libraries](https://forum.elixirforum.com/t/how-to-support-client-libraries/40229)

<div class="topic-metadata">

**Author:** [@matreyes](https://forum.elixirforum.com/u/matreyes)\
**Replies:** 5\
**Last updated:** [June 8, 2021, 1:29am UTC](https://forum.elixirforum.com/t/how-to-support-client-libraries/40229 "2021-06-08T01:29:02Z")

</div>

Hi everyone!. In 3 years working with Elixir, my only frustration has been (as you may expect for a small community) the lack of “client” libraries (libraries that connects to other services, that have to keep the timin…

---

## [Kafka Ex :timeout error on connector](https://forum.elixirforum.com/t/kafka-ex-timeout-error-on-connector/39397)

<div class="topic-metadata">

**Author:** [@francesco.pessina](https://forum.elixirforum.com/u/francesco.pessina)\
**Replies:** 1\
**Last updated:** [May 5, 2021, 7:05pm UTC](https://forum.elixirforum.com/t/kafka-ex-timeout-error-on-connector/39397 "2021-05-05T19:05:34Z")

</div>

Hello everyone :slight\_smile: I have a strange problem with Kafka Ex (GitHub - kafkaex/kafka\_ex: Kafka client library for Elixir · GitHub). While running locally and connecting to a local Kafka instance, all is fine. W…

---

## [How to set Broadway producer group options for messages processing taking 5 min +](https://forum.elixirforum.com/t/how-to-set-broadway-producer-group-options-for-messages-processing-taking-5-min/38123)

<div class="topic-metadata">

**Author:** [@Chopper54](https://forum.elixirforum.com/u/Chopper54)\
**Replies:** 2\
**Last updated:** [March 22, 2021, 6:30pm UTC](https://forum.elixirforum.com/t/how-to-set-broadway-producer-group-options-for-messages-processing-taking-5-min/38123 "2021-03-22T18:30:39Z")

</div>

My processing of messages may take 5 min plus. How can I set the proper Kafka consumer group option max.poll.interval.ms in Brod via Broadway group options?

---

## [Kaffe connection with dockerized kafka](https://forum.elixirforum.com/t/kaffe-connection-with-dockerized-kafka/32655)

<div class="topic-metadata">

**Author:** [@tushar](https://forum.elixirforum.com/u/tushar)\
**Replies:** 1\
**Last updated:** [December 15, 2020, 3:52pm UTC](https://forum.elixirforum.com/t/kaffe-connection-with-dockerized-kafka/32655 "2020-12-15T15:52:35Z")

</div>

I am trying to connect kaffe with a Kafka image and facing this error on the app startup , \[error\] GenServer :kaffe\_producer\_client terminating \*\* (stop) \[{{'kafkadocker\_kafka\_1', 9092}, {:nxdomain, \[{:kpro\_connection, …

---

## [\[Question\] KafkaEx - manually committing offsets](https://forum.elixirforum.com/t/question-kafkaex-manually-committing-offsets/35237)

<div class="topic-metadata">

**Author:** [@WFransen](https://forum.elixirforum.com/u/WFransen)\
**Replies:** 3\
**Last updated:** [October 31, 2020, 2:00pm UTC](https://forum.elixirforum.com/t/question-kafkaex-manually-committing-offsets/35237 "2020-10-31T14:00:54Z")

</div>

Hello, I’m trying to manually commit offsets with KafkaEx. The following is present: A topic: a-topic-which-has-a-lot-of-messages A producer which produces messages (Protobuf encoded messages) Following sample code: ▶ A…

---

## [Need help to map kafka topic to liveview](https://forum.elixirforum.com/t/need-help-to-map-kafka-topic-to-liveview/34488)

<div class="topic-metadata">

**Author:** [@bboyadao](https://forum.elixirforum.com/u/bboyadao)\
**Replies:** 8\
**Last updated:** [September 29, 2020, 9:13am UTC](https://forum.elixirforum.com/t/need-help-to-map-kafka-topic-to-liveview/34488 "2020-09-29T09:13:21Z")

</div>

I have a problem when integrate phoenix live view and kafka. been a week i spend my free time to learn elixir. Now i have a normal web app just display realtime data from kafka. i have done with producer from another s…

---

## [How to create Apache Kafka consumer groups?](https://forum.elixirforum.com/t/how-to-create-apache-kafka-consumer-groups/30049)

<div class="topic-metadata">

**Author:** [@kgllev](https://forum.elixirforum.com/u/kgllev)\
**Replies:** 4\
**Last updated:** [September 28, 2020, 12:56pm UTC](https://forum.elixirforum.com/t/how-to-create-apache-kafka-consumer-groups/30049 "2020-09-28T12:56:10Z")

</div>

I’m quite new to Kafka and trying to implement a simple queue system using 1 topic and 1 consumer group assigned to that topic. However I couldn’t figure out how to create a consumer group. I’m using Kafka\_ex library an…

---

## [What would it take to create Kafka like solution in Elixir?](https://forum.elixirforum.com/t/what-would-it-take-to-create-kafka-like-solution-in-elixir/33937)

<div class="topic-metadata">

**Author:** [@onkara](https://forum.elixirforum.com/u/onkara)\
**Replies:** 23\
**Last updated:** [August 28, 2020, 5:54am UTC](https://forum.elixirforum.com/t/what-would-it-take-to-create-kafka-like-solution-in-elixir/33937 "2020-08-28T05:54:03Z")

</div>

Just went through this great discussion thread on Big Data with Elixir and looking at this diagram I couldn’t help but ask can Broadway be a replacement for Kafka ? But on further research it turns out Broadway is a way …

[Next page](https://forum.elixirforum.com/tag/kafka/698.md?match_all_tags=true&page=1&tags%5B%5D=kafka)
