# Optimized Kafka Docker Setup for High-Performance Debezium CDC Problem

**URL:** <https://forum.confluent.io/t/optimized-kafka-docker-setup-for-high-performance-debezium-cdc-problem/37455>\
**Category:** Kafka Connect\
**Created:** [12 March 2025 07:39 UTC](https://forum.confluent.io/t/optimized-kafka-docker-setup-for-high-performance-debezium-cdc-problem/37455 "2025-03-12T07:39:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bilgeyillmaz](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@bilgeyillmaz](https://forum.confluent.io/u/bilgeyillmaz)\
**Post date:** [12 March 2025 07:39 UTC](https://forum.confluent.io/t/optimized-kafka-docker-setup-for-high-performance-debezium-cdc-problem/37455/1 "2025-03-12T07:39:53Z")

</div>

Hello, I have created a Docker setup, but whenever I connect it with a Debezium connector, the connector goes into a ‘task failed’ state shortly after. Could you please help? The task fails when I try to convert the timestamp data to the datetime type.

Here is my docker-compose file:  
services:  
kafka:  
image: ‘bitnami/kafka:3.9.0’  
container\_name: kafka  
ports:  
- “9092:9092”  
environment:  
- KAFKA\_CFG\_NODE\_ID=0  
- KAFKA\_CFG\_PROCESS\_ROLES=controller,broker  
- KAFKA\_CFG\_LISTENERS=PLAINTEXT://:9092,CONTROLLER://:9093  
- KAFKA\_CFG\_ADVERTISED\_LISTENERS=PLAINTEXT://kafka:9092  
- KAFKA\_CFG\_LISTENER\_SECURITY\_PROTOCOL\_MAP=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT  
- KAFKA\_CFG\_CONTROLLER\_QUORUM\_VOTERS=0@kafka:9093  
- KAFKA\_CFG\_CONTROLLER\_LISTENER\_NAMES=CONTROLLER  
- KAFKA\_CFG\_INTER\_BROKER\_LISTENER\_NAME=PLAINTEXT

kafka-ui:  
container\_name: kafka-ui  
image: provectuslabs/kafka-ui:latest  
ports:  
- “8080:8080”  
depends\_on:  
- kafka  
- kafka-connect  
environment:  
KAFKA\_CLUSTERS\_0\_NAME: local  
KAFKA\_CLUSTERS\_0\_BOOTSTRAPSERVERS: kafka:9092  
KAFKA\_CLUSTERS\_0\_KAFKACONNECT\_0\_NAME: FIRST  
KAFKA\_CLUSTERS\_0\_KAFKACONNECT\_0\_ADDRESS: [http://kafka-connect:8083](http://kafka-connect:8083)  
DYNAMIC\_CONFIG\_ENABLED: “true”

kafka-connect:  
container\_name: kafka-connect  
image: debezium/connect:3.0.0.Final  
ports:  
- “8083:8083”  
depends\_on:  
- kafka  
environment:  
BOOTSTRAP\_SERVERS: kafka:9092  
GROUP\_ID: 1  
CONFIG\_STORAGE\_TOPIC: dbz\_config  
OFFSET\_STORAGE\_TOPIC: dbz\_offset  
STATUS\_STORAGE\_TOPIC: dbz\_status  
KEY\_CONVERTER: org.apache.kafka.connect.json.JsonConverter  
VALUE\_CONVERTER: org.apache.kafka.connect.json.JsonConverter  
CONNECT\_KEY\_CONVERTER\_SCHEMAS\_ENABLE: “false”  
CONNECT\_VALUE\_CONVERTER\_SCHEMAS\_ENABLE: “false”  
PLUGIN\_PATH: /kafka/connect

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [11 April 2025 07:40 UTC](https://forum.confluent.io/t/optimized-kafka-docker-setup-for-high-performance-debezium-cdc-problem/37455/2 "2025-04-11T07:40:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
