# Containers

**URL:** https://forum.confluent.io/c/ops/containers/27.md

[Latest](https://forum.confluent.io/latest.md) · [Categories](https://forum.confluent.io/categories.md)

---

## [About the Containers category](https://forum.confluent.io/t/about-the-containers-category/41)

<div class="topic-metadata">

**Author:** [@rmoff](https://forum.confluent.io/u/rmoff)\
**Replies:** 0

</div>

All about running Confluent Platform on Docker & Kubernetes

---

## [Multiple brokers in docker compose deployment](https://forum.confluent.io/t/multiple-brokers-in-docker-compose-deployment/37819)

<div class="topic-metadata">

**Author:** [@georgelza](https://forum.confluent.io/u/georgelza)\
**Replies:** 14\
**Last updated:** [26 May 2025 16:16 UTC](https://forum.confluent.io/t/multiple-brokers-in-docker-compose-deployment/37819 "2025-05-26T16:16:49Z")

</div>

guys, for a local confluent via docker-compose deployment (development), have anyone done it using multiple brokers ? would love a copy of the docker compose file if I may. Also curious howI would then “expose” my mul…

---

## [java.io.IOException: Packet len 9592748 is out of range! (zk- broker not communicating)](https://forum.confluent.io/t/java-io-ioexception-packet-len-9592748-is-out-of-range-zk-broker-not-communicating/37627)

<div class="topic-metadata">

**Author:** [@SaiKrishnaNeeli](https://forum.confluent.io/u/SaiKrishnaNeeli)\
**Replies:** 6\
**Last updated:** [4 April 2025 12:20 UTC](https://forum.confluent.io/t/java-io-ioexception-packet-len-9592748-is-out-of-range-zk-broker-not-communicating/37627 "2025-04-04T12:20:29Z")

</div>

Hi Team, We recently encountered an issue where there was a communication gap between the Kafka brokers and Zookeeper, leading to aborted internal operations. Broker Log Observed: Image: Image: confluentinc/cp-kafka:7…

---

## [SASL PLAIN\_TEXT using env variables not working](https://forum.confluent.io/t/sasl-plain-text-using-env-variables-not-working/37436)

<div class="topic-metadata">

**Author:** [@Amo](https://forum.confluent.io/u/Amo)\
**Replies:** 0\
**Last updated:** [8 March 2025 00:19 UTC](https://forum.confluent.io/t/sasl-plain-text-using-env-variables-not-working/37436 "2025-03-08T00:19:00Z")

</div>

Hello, Been fighting with this for a while, I cant’ get a the following docker-compose.yml file to work. I have the constraints I can’t mount volumes to my docker, so everything has to be passed as an env variable. ver…

---

## [Confluent operator cve-2024-45337 vulnerability](https://forum.confluent.io/t/confluent-operator-cve-2024-45337-vulnerability/37299)

<div class="topic-metadata">

**Author:** [@Beniyeal1](https://forum.confluent.io/u/Beniyeal1)\
**Replies:** 1\
**Last updated:** [21 February 2025 16:33 UTC](https://forum.confluent.io/t/confluent-operator-cve-2024-45337-vulnerability/37299 "2025-02-21T16:33:27Z")

</div>

Hi Team, Confluent operator images has cve-2024-45337 vulnerability and could not find a latest version that resolved this. Kindly confirm when this can be resolved. |CFK Helm Version|CFK Image Tag| |2.10.0|0.1145.6|

---

## [Kafka docker compose stopped working](https://forum.confluent.io/t/kafka-docker-compose-stopped-working/37281)

<div class="topic-metadata">

**Author:** [@jedrekd](https://forum.confluent.io/u/jedrekd)\
**Replies:** 3\
**Last updated:** [20 February 2025 14:29 UTC](https://forum.confluent.io/t/kafka-docker-compose-stopped-working/37281 "2025-02-20T14:29:24Z")

</div>

Hello, Up until today I’ve been using the official kafka docker compose which I took from GitHub but today out of the blue it stopped working. Right after two seconds the zookeeper goes down and after a minute all other…

---

## [AuthorizerNotReadyException in Kafka ACL when using KRaft with multiple controllers](https://forum.confluent.io/t/authorizernotreadyexception-in-kafka-acl-when-using-kraft-with-multiple-controllers/36364)

<div class="topic-metadata">

**Author:** [@sudhanshuShukla](https://forum.confluent.io/u/sudhanshuShukla)\
**Replies:** 1\
**Last updated:** [23 January 2025 13:37 UTC](https://forum.confluent.io/t/authorizernotreadyexception-in-kafka-acl-when-using-kraft-with-multiple-controllers/36364 "2025-01-23T13:37:46Z")

</div>

Hi, I am trying to configure ACL in Kafka using KRaft with multiple controllers and brokers. But I am getting org.apache.kafka.common.errors.AuthorizerNotReadyException. Below is the full error: kafka-controller-1-1 …

---

## [Can't migrate from zookeeper to KRaft](https://forum.confluent.io/t/cant-migrate-from-zookeeper-to-kraft/13541)

<div class="topic-metadata">

**Author:** [@fyilmaz2](https://forum.confluent.io/u/fyilmaz2)\
**Replies:** 1\
**Last updated:** [30 December 2024 06:26 UTC](https://forum.confluent.io/t/cant-migrate-from-zookeeper-to-kraft/13541 "2024-12-30T06:26:03Z")

</div>

Hi, I’m having trouble with this situation. First I tried to migrate the volume which is in zookeeper to new kraft cluster with MirrorMaker2 but I couldn’t manage it. I posted that as a question as well. Now I tried to f…

---

## [Services control-center persists RAM increment over time](https://forum.confluent.io/t/services-control-center-persists-ram-increment-over-time/13171)

<div class="topic-metadata">

**Author:** [@NhatDuy11](https://forum.confluent.io/u/NhatDuy11)\
**Replies:** 0\
**Last updated:** [15 November 2024 08:01 UTC](https://forum.confluent.io/t/services-control-center-persists-ram-increment-over-time/13171 "2024-11-15T08:01:32Z")

</div>

My services control-center’s RAM usage increases very quickly over time, and eventually, it becomes fully used. Could you provide some suggestions to fix this issue? I want the services control-center to stop increasing …

---

## [Kafka KRAFT SASL\_PLAINTEXT](https://forum.confluent.io/t/kafka-kraft-sasl-plaintext/6478)

<div class="topic-metadata">

**Author:** [@firecow](https://forum.confluent.io/u/firecow)\
**Replies:** 3\
**Last updated:** [10 September 2024 15:58 UTC](https://forum.confluent.io/t/kafka-kraft-sasl-plaintext/6478 "2024-09-10T15:58:57Z")

</div>

Hey, guys. I’m trying to get Kafka in “kraft” mode up n’ running with SASL\_PLAINTEXT I’ve been able to get a functioning kafka broker/controller up n’ running locally, with this config/kraft/server.properties process…

---

## [Controlcenter, Connect pods are failing](https://forum.confluent.io/t/controlcenter-connect-pods-are-failing/11359)

<div class="topic-metadata">

**Author:** [@ezio\_9153](https://forum.confluent.io/u/ezio_9153)\
**Replies:** 6\
**Last updated:** [10 September 2024 06:24 UTC](https://forum.confluent.io/t/controlcenter-connect-pods-are-failing/11359 "2024-09-10T06:24:18Z")

</div>

Hi, I’m new to Confluent kafka. I’m trying to deploy Confluent Kafka on Google Autopilot cluster and the controlcenter,connect pods are failing when the probes are triggered. All the other services are working as ex…

---

## [Replica Setup running in Different Machine in LAN](https://forum.confluent.io/t/replica-setup-running-in-different-machine-in-lan/11409)

<div class="topic-metadata">

**Author:** [@PRAVP007](https://forum.confluent.io/u/PRAVP007)\
**Replies:** 1\
**Last updated:** [10 September 2024 06:22 UTC](https://forum.confluent.io/t/replica-setup-running-in-different-machine-in-lan/11409 "2024-09-10T06:22:48Z")

</div>

Hi, I am running Kafka Single Node in two Ubuntu Desktop Computer in Docker in LAN, I want to make replica for both the node and whenever one machine fails then load should be transfer to another node. My question is: I…

---

## [Confluent For Kubernetes: Connect pod going in perpetual restart mode](https://forum.confluent.io/t/confluent-for-kubernetes-connect-pod-going-in-perpetual-restart-mode/2500)

<div class="topic-metadata">

**Author:** [@kashi](https://forum.confluent.io/u/kashi)\
**Replies:** 2\
**Last updated:** [2 September 2024 09:42 UTC](https://forum.confluent.io/t/confluent-for-kubernetes-connect-pod-going-in-perpetual-restart-mode/2500 "2024-09-02T09:42:23Z")

</div>

Hi, We have a broker running on an ec2 instance and exposed at (plaintext) 192.168.54.226:9092. I deployed connect in two different ways: Deployed helm chart to deploy. a connect pod: Works well. Topics were created …

---

## [Kraft with SASL/PLAINTEXT doesn't work with SCRAM-SHA-256](https://forum.confluent.io/t/kraft-with-sasl-plaintext-doesnt-work-with-scram-sha-256/11330)

<div class="topic-metadata">

**Author:** [@Sakib\_Farhad](https://forum.confluent.io/u/Sakib_Farhad)\
**Replies:** 0\
**Last updated:** [28 August 2024 06:27 UTC](https://forum.confluent.io/t/kraft-with-sasl-plaintext-doesnt-work-with-scram-sha-256/11330 "2024-08-28T06:27:42Z")

</div>

We are trying to setup a 3 node cluster with confluentinc/cp-kafka:7.7.0. Following are the docker-compoes and jaas files. services: kafka-1: user: 0:0 image: confluentinc/cp-kafka:7.7.0 hostname: kafka-…

---

## [Extended key usage does not permit use for TLS client authentication](https://forum.confluent.io/t/extended-key-usage-does-not-permit-use-for-tls-client-authentication/11290)

<div class="topic-metadata">

**Author:** [@rsindhuri](https://forum.confluent.io/u/rsindhuri)\
**Replies:** 0\
**Last updated:** [21 August 2024 18:00 UTC](https://forum.confluent.io/t/extended-key-usage-does-not-permit-use-for-tls-client-authentication/11290 "2024-08-21T18:00:41Z")

</div>

Hi, I am trying to upgrade kafka version from 3.3.1 t 3.7.1 and I am geeting error as below: org.apache.kafka.common.config.ConfigException: Invalid value javax.net.ssl.SSLHandshakeException: Extended key usage does no…

---

## [Installing confluent-libserdes1 on ubuntu 20.04 is broken](https://forum.confluent.io/t/installing-confluent-libserdes1-on-ubuntu-20-04-is-broken/10649)

<div class="topic-metadata">

**Author:** [@agurau](https://forum.confluent.io/u/agurau)\
**Replies:** 4\
**Last updated:** [23 May 2024 12:32 UTC](https://forum.confluent.io/t/installing-confluent-libserdes1-on-ubuntu-20-04-is-broken/10649 "2024-05-23T12:32:45Z")

</div>

Hi all, I am encountering a problem when trying to install confluent-libserdes-dev and libavro-cpp-dev components on ubuntu 20.04 (inside docker container). To be mentioned that this was working about 1 month ago and s…

---

## [Custom Docker Registry](https://forum.confluent.io/t/custom-docker-registry/10444)

<div class="topic-metadata">

**Author:** [@pg74](https://forum.confluent.io/u/pg74)\
**Replies:** 1\
**Last updated:** [19 April 2024 10:02 UTC](https://forum.confluent.io/t/custom-docker-registry/10444 "2024-04-19T10:02:19Z")

</div>

Despite my efforts to update the CRD for kafkas.platform.confluent.io to utilize images from my Custom Docker Registry, and ensuring that the Kubernetes StatefulSet for Kafka was also updated accordingly to fetch the ima…

---

## [Connecting to broker - docker-compose](https://forum.confluent.io/t/connecting-to-broker-docker-compose/2520)

<div class="topic-metadata">

**Author:** [@georgelza](https://forum.confluent.io/u/georgelza)\
**Replies:** 14\
**Last updated:** [20 March 2024 13:47 UTC](https://forum.confluent.io/t/connecting-to-broker-docker-compose/2520 "2024-03-20T13:47:07Z")

</div>

Hi all, strange, sure I had this working before from Golang and from Python, but having issue when connecting from Kafkacat… Georges-MacBook-Pro.local:/Users/george/Desktop/ProjectsCommon/cp-all-in-one \> docker-compose …

---

## [Monitor consumer lag using cp-kafka community edition](https://forum.confluent.io/t/monitor-consumer-lag-using-cp-kafka-community-edition/10402)

<div class="topic-metadata">

**Author:** [@MichalA](https://forum.confluent.io/u/MichalA)\
**Replies:** 0\
**Last updated:** [15 March 2024 11:57 UTC](https://forum.confluent.io/t/monitor-consumer-lag-using-cp-kafka-community-edition/10402 "2024-03-15T11:57:09Z")

</div>

Hi! I am trying to enable consumer lag monitoring with cp-kafka using JMX metrics. I have the Prometheus exporter set up and working on all nodes. It exports all the metrics that we’ve been previously gathering. It does …

---

## [Dotnet publish includes 4 large librdkafka.so files](https://forum.confluent.io/t/dotnet-publish-includes-4-large-librdkafka-so-files/9562)

<div class="topic-metadata">

**Author:** [@kfarris](https://forum.confluent.io/u/kfarris)\
**Replies:** 1\
**Last updated:** [8 March 2024 17:24 UTC](https://forum.confluent.io/t/dotnet-publish-includes-4-large-librdkafka-so-files/9562 "2024-03-08T17:24:59Z")

</div>

I’m running dotnet8 aspnet docker images, and when I run dotnet publish before creating my image, there are 4 librdkafka.so files (centos6-\* centos7-\* alpine-\*) that are all over 8 MB and account for 1/2 the size of my i…

---

## [How to enable consumer lag emitter on confluent kafka 7.5.2 docker container?](https://forum.confluent.io/t/how-to-enable-consumer-lag-emitter-on-confluent-kafka-7-5-2-docker-container/9644)

<div class="topic-metadata">

**Author:** [@nhutan](https://forum.confluent.io/u/nhutan)\
**Replies:** 8\
**Last updated:** [31 January 2024 07:48 UTC](https://forum.confluent.io/t/how-to-enable-consumer-lag-emitter-on-confluent-kafka-7-5-2-docker-container/9644 "2024-01-31T07:48:22Z")

</div>

I am using the cp-enterprise-kafka:7.5.2 docker image. The docs said I can enable the consumer lag emitter from the broker.properties file, but I dont see the parameter anywhere in the file

---

## [Kafka - random high port](https://forum.confluent.io/t/kafka-random-high-port/9871)

<div class="topic-metadata">

**Author:** [@Coredump](https://forum.confluent.io/u/Coredump)\
**Replies:** 5\
**Last updated:** [23 January 2024 20:29 UTC](https://forum.confluent.io/t/kafka-random-high-port/9871 "2024-01-23T20:29:58Z")

</div>

Hi All, I am running the confluent kafka containers, one for kraft and one for a broker. The containers are ran in podman and use network ‘host’. I need to use the JMX interface to monitor stats, for this i have enable…

---

## [Create this secret manually in airtight env](https://forum.confluent.io/t/create-this-secret-manually-in-airtight-env/9687)

<div class="topic-metadata">

**Author:** [@srini\_dk](https://forum.confluent.io/u/srini_dk)\
**Replies:** 0\
**Last updated:** [28 December 2023 03:16 UTC](https://forum.confluent.io/t/create-this-secret-manually-in-airtight-env/9687 "2023-12-28T03:16:04Z")

</div>

Hi Team, I am not able to launch the CFK on EKS, i am getting message when i describe pod confluent-operator. So how do we create this secret (confluent-registry) manually, as we don’t have a internet access to downloa…

---

## [Got \`Authentication failed\` even i already pass correct username and password](https://forum.confluent.io/t/got-authentication-failed-even-i-already-pass-correct-username-and-password/8389)

<div class="topic-metadata">

**Author:** [@post-human-world](https://forum.confluent.io/u/post-human-world)\
**Replies:** 2\
**Last updated:** [7 December 2023 14:13 UTC](https://forum.confluent.io/t/got-authentication-failed-even-i-already-pass-correct-username-and-password/8389 "2023-12-07T14:13:32Z")

</div>

Everything is fine when i enabled TLS Auth. Today i try to enable SASL Auth at Kraft mode, but after a few hour working i stuck at this error Authentication failed during authentication due to invalid credentials with SA…

---

## [On a 3 node broker cluster, one node is always down](https://forum.confluent.io/t/on-a-3-node-broker-cluster-one-node-is-always-down/8993)

<div class="topic-metadata">

**Author:** [@Udayendu](https://forum.confluent.io/u/Udayendu)\
**Replies:** 7\
**Last updated:** [5 November 2023 15:05 UTC](https://forum.confluent.io/t/on-a-3-node-broker-cluster-one-node-is-always-down/8993 "2023-11-05T15:05:28Z")

</div>

Using docker compose, I am trying to deploy a 3 node kafka cluster. Randomly 2 nodes are working fine and 3rd node is always getting the following error: \[2023-11-03 04:12:59,865\] INFO \[broker-1-to-controller-forwarding…

---

## [Kafka controller failed start while using properties file via docker volume](https://forum.confluent.io/t/kafka-controller-failed-start-while-using-properties-file-via-docker-volume/8972)

<div class="topic-metadata">

**Author:** [@Udayendu](https://forum.confluent.io/u/Udayendu)\
**Replies:** 3\
**Last updated:** [2 November 2023 14:52 UTC](https://forum.confluent.io/t/kafka-controller-failed-start-while-using-properties-file-via-docker-volume/8972 "2023-11-02T14:52:01Z")

</div>

I am trying to start a controller using docker and passing all the configs via the controller properties file except the cluster\_id. But its not responding to the properties file. I am using the following command to run: …

---

## [ClusterAuthorizationException with User:ANONYMOUS when setting up SASL with Kraft and ACL](https://forum.confluent.io/t/clusterauthorizationexception-with-user-anonymous-when-setting-up-sasl-with-kraft-and-acl/8865)

<div class="topic-metadata">

**Author:** [@devve](https://forum.confluent.io/u/devve)\
**Replies:** 7\
**Last updated:** [24 October 2023 21:18 UTC](https://forum.confluent.io/t/clusterauthorizationexception-with-user-anonymous-when-setting-up-sasl-with-kraft-and-acl/8865 "2023-10-24T21:18:45Z")

</div>

Hello, I am trying to set up SASL with the Kraft mode in Kafka. I have a Docker Compose setup that works fine without ACLs, and I can connect to Kafka using producers. However, when I try to implement ACLs, I run into i…

---

## [CFK and Community License](https://forum.confluent.io/t/cfk-and-community-license/8731)

<div class="topic-metadata">

**Author:** [@cfkcvs](https://forum.confluent.io/u/cfkcvs)\
**Replies:** 1\
**Last updated:** [29 September 2023 12:37 UTC](https://forum.confluent.io/t/cfk-and-community-license/8731 "2023-09-29T12:37:24Z")

</div>

Do we need enterprise license to use CFK to install community licensed components? If not, what are the options to install community edition of platform?

---

## [Auto-generated certificates](https://forum.confluent.io/t/auto-generated-certificates/8637)

<div class="topic-metadata">

**Author:** [@Habib](https://forum.confluent.io/u/Habib)\
**Replies:** 0\
**Last updated:** [7 September 2023 11:50 UTC](https://forum.confluent.io/t/auto-generated-certificates/8637 "2023-09-07T11:50:26Z")

</div>

Hi, I am trying to use auto generated tls for my cluster and following the below docs Configure Network Encryption using Confluent for Kubernetes | Confluent Documentation I have created the secret and attached the CA…

---

## [Client in docker deployed on AWS Lambda](https://forum.confluent.io/t/client-in-docker-deployed-on-aws-lambda/8222)

<div class="topic-metadata">

**Author:** [@georgelza](https://forum.confluent.io/u/georgelza)\
**Replies:** 6\
**Last updated:** [25 August 2023 09:10 UTC](https://forum.confluent.io/t/client-in-docker-deployed-on-aws-lambda/8222 "2023-08-25T09:10:59Z")

</div>

Hi all Busy trying to put together a Lambda deployed client. there is a couple of ways to do it… but as soon as you introduce external C libraries (as used by confluent\_kakfa when client is Golang based) then the optio…

[Next page](https://forum.confluent.io/c/ops/containers/27.md?page=1)
