Dbr 3198 updat docker compose#9
Open
sonam0108 wants to merge 2 commits into
Open
Conversation
| KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:19092 | ||
| KAFKA_CONTROLLER_LISTENER_NAMES: CONTROLLER | ||
| KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT | ||
| KAFKA_CONTROLLER_QUORUM_VOTERS: 1@localhost:19093,2@localhost:29093,3@localhost:39093 |
Contributor
There was a problem hiding this comment.
i dont think this is needed
Author
There was a problem hiding this comment.
without this setting kafka fails to start with error
"Exception in thread "main" org.apache.kafka.common.config.ConfigException:
If using process.roles, controller.quorum.voters must contain a parseable set of voters.
at kafka.server.KafkaConfig.validateNonEmptyQuorumVotersForKRaft
as we have removed zookeeper and started using Kraft which requires KAFKA_CONTROLLER_QUORUM_VOTERS:1@kafka:9093 referencing ID 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#what
the docker compose has old image and old code
#why
just updating the yaml with new code with kafka image and eliminating zookeepers from the code
#how
setup now uses Apache Kafka 3.8.0 with KRaft mode
#testing
I tried to test on my local the connection looks okay