Skip to content

moved to kafka 4 and cp 7.9.0 #66

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

Merged
merged 2 commits into from
Mar 20, 2025
Merged

moved to kafka 4 and cp 7.9.0 #66

merged 2 commits into from
Mar 20, 2025

Conversation

hifly81
Copy link
Owner

@hifly81 hifly81 commented Mar 20, 2025

No description provided.

@hifly81 hifly81 requested a review from Copilot March 20, 2025 10:51
Copy link

@Copilot 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 updates the Confluent Platform images from version 7.8.1 to 7.9.0 and moves to Kafka 4, along with adjusting test code for the new configuration and updating the Kafka client poll method. The key changes include:

  • Upgrading container image tags (application and init) across Kubernetes YAML definitions.
  • Updating test classes (both JSON and String producers) to use a new Partitioner in the MockProducer initialization.
  • Modifying the Kafka client to use Duration for consumer polling and removing an unused authorizer.

Reviewed Changes

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

Show a summary per file
File Description
confluent-for-kubernetes/k8s/confluent-platform.yaml Upgraded Kafka and init container image versions; note inconsistent volume capacity unit.
confluent-avro-specific-record/src/test/java/org/hifly/kafka/demo/producer/serializer/json/JsonProducerMockTest.java Updated test setup to use a custom Partitioner for the MockProducer.
confluent-avro-specific-record/src/test/java/org/hifly/kafka/demo/producer/serializer/string/StringProducerMockTest.java Updated test setup to use a custom Partitioner for the MockProducer.
confluent-for-kubernetes/k8s/confluent-platform-reducted.yaml Upgraded Kafka and init container image versions.
kafka-clients-graalvm/src/main/java/org/hifly/kafka/demo/KafkaClient.java Changed consumer.poll to use Duration for polling.
authorizers/src/main/java/org/hifly/kafka/authorizer/DummyAuthorizer.java Removed the DummyAuthorizer implementation.
Files not reviewed (14)
  • .env: Language not supported
  • README.adoc: Language not supported
  • admin-client/pom.xml: Language not supported
  • authorizers/config/consumer.properties: Language not supported
  • authorizers/config/producer.properties: Language not supported
  • authorizers/docker-compose.yml: Language not supported
  • authorizers/pom.xml: Language not supported
  • authorizers/src/main/resources/consumer.properties: Language not supported
  • authorizers/src/main/resources/producer.properties: Language not supported
  • claim-check/pom.xml: Language not supported
  • confluent-avro-hierarchy-event/pom.xml: Language not supported
  • confluent-avro-multi-event/pom.xml: Language not supported
  • confluent-avro-specific-record/pom.xml: Language not supported
  • kafka-consumer/pom.xml: Language not supported
Comments suppressed due to low confidence (1)

confluent-for-kubernetes/k8s/confluent-platform.yaml:8

  • The YAML file sets the volume capacity as '1G' while a similar file uses '1Gi'. Consider standardizing the volume capacity unit to avoid potential misconfiguration.
dataVolumeCapacity: 1G

@hifly81 hifly81 merged commit ca1d855 into master Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant