-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kafka with KRaft #69
base: main
Are you sure you want to change the base?
Kafka with KRaft #69
Conversation
🦙 MegaLinter status:
|
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
✅ BASH | shellcheck | 5 | 0 | 0.24s | |
shfmt | 5 | 1 | 0.03s | ||
✅ COPYPASTE | jscpd | yes | no | 1.08s | |
✅ DOCKERFILE | hadolint | 1 | 0 | 0.09s | |
✅ JSON | jsonlint | 4 | 0 | 0.33s | |
prettier | 4 | 1 | 2.03s | ||
✅ JSON | v8r | 4 | 0 | 2.71s | |
✅ REPOSITORY | git_diff | yes | no | 0.01s | |
✅ REPOSITORY | grype | yes | no | 15.17s | |
✅ REPOSITORY | trivy | yes | no | 7.79s | |
✅ REPOSITORY | trivy-sbom | yes | no | 5.93s | |
✅ REPOSITORY | trufflehog | yes | no | 4.3s | |
prettier | 19 | 1 | 1.94s | ||
✅ YAML | v8r | 19 | 0 | 6.02s | |
yamllint | 19 | 1 | 1.0s |
See detailed report in MegaLinter reports
Great work. Did you verify it together with redpanda as well? Also with OAuth2 please: |
Tested with both by creating a topic and writing a message to it through the redpanda UI |
Add a docker compose for local development, which starts a Kafka instance running KRaft, instead of Zookeeper.
This PR uses the Kafka docker image compiled from https://github.com/trifork/cheetah-infrastructure-utils-kafka/pull/77.
This new docker compose runs a Kafka in KRaft mode in both controller and broker mode combined.
Controller mode is when Kafka acts as Zookeeper (runs the consensus algorithm).
Broker mode is when Kafka acts like a message queue (the way it always was).
Changes from the way we ran Kafka using Zookeeper:
bin/kafka-storage.sh format ...
server.properties
tokraft.properties