Skip to content

Conversation

@danielkec
Copy link
Contributor

Simpler local broker setup

@danielkec danielkec requested a review from Copilot December 4, 2025 13:12
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 4, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the Kafka setup for local development by replacing a custom Dockerfile and shell scripts with a docker-compose configuration using the official Apache Kafka image.

  • Removed custom Docker build scripts and Dockerfile in favor of docker-compose with official apache/kafka:3.8.0 image
  • Updated topic names from messaging-test-topic-* to simplified test-topic-1
  • Added Kafka logging level configuration to reduce verbosity
  • Updated documentation with simpler docker-compose commands

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
examples/messaging/kafkaRun.sh Removed custom shell script for building and running Kafka Docker container
examples/messaging/kafkaProduce.sh Removed custom shell script for manual message production to Kafka topics
examples/messaging/kafkaConsume.sh Removed custom shell script for manual message consumption from Kafka topics
examples/messaging/docker/kafka/start_kafka.sh Removed custom startup script that managed Zookeeper and Kafka initialization
examples/messaging/docker/kafka/init_topics.sh Removed custom script for creating predefined test topics
examples/messaging/docker/kafka/Dockerfile.kafka Removed custom Dockerfile that built a Kafka test image with Zookeeper
examples/messaging/docker/kafka/docker-compose.yaml Added new docker-compose configuration using official Apache Kafka image in KRaft mode (no Zookeeper)
examples/messaging/kafka-websocket-se/src/main/resources/application.yaml Updated topic name to test-topic-1 for simpler configuration
examples/messaging/kafka-websocket-mp/src/main/resources/META-INF/microprofile-config.properties Updated topic name to test-topic-1 and copyright year to 2025
examples/messaging/kafka-websocket-se/src/main/resources/logging.properties Set Kafka logging to WARNING level and updated copyright year to 2025
examples/messaging/kafka-websocket-mp/src/main/resources/logging.properties Updated copyright year to 2025
examples/messaging/README.md Updated documentation with docker-compose commands instead of custom shell scripts

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant