cp-docker-images
cp-docker-images copied to clipboard
how to setup the broker container to be able to support transaction API
As a followup for this question, I want to set transaction.state.log.replication.factor
to 1, so I can test around the transaction API in my local env (without needing to use lots of memory for multiple kafka containers).
Adding KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR
in environment var to 1, I receive error Failed to initialize Producer ID: Broker: Coordinator not available
. Meaning there are some other things I need to configure when starting the container.
Anyone know the workaround?
Edit:
Confluent Platform 5.4.1 from branch 5.4.1-post
Please note this repo is deprecated