From 838873040dc13f5aaa1469de11bd89fae22bf4b5 Mon Sep 17 00:00:00 2001 From: mt3593 Date: Thu, 31 Aug 2023 09:25:55 +0100 Subject: [PATCH] update to kafka 3.4 --- .circleci/config.yml | 9 +++++---- CHANGELOG.md | 2 ++ project.clj | 18 +++++++++--------- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6453bfda..d24e6f39 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -43,21 +43,22 @@ references: test_config: &test_config docker: - image: circleci/clojure:lein-2.9.1 - - image: confluentinc/cp-zookeeper:6.1.1 + - image: confluentinc/cp-zookeeper:7.4.1 environment: ZOOKEEPER_CLIENT_PORT: 2181 - - image: confluentinc/cp-kafka:6.1.1 + - image: confluentinc/cp-kafka:7.4.1 environment: KAFKA_BROKER_ID: 1 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://localhost:9092 KAFKA_ZOOKEEPER_CONNECT: localhost:2181 - - image: confluentinc/cp-schema-registry:6.1.1 + - image: confluentinc/cp-schema-registry:7.4.1 environment: SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: localhost:2181 SCHEMA_REGISTRY_HOST_NAME: localhost SCHEMA_REGISTRY_LISTENERS: http://localhost:8081 - - image: confluentinc/cp-kafka-rest:6.1.1 + SCHEMA_REGISTRY_BOOTSTRAP_SERVERS: localhost:9092 + - image: confluentinc/cp-kafka-rest:7.4.1 environment: KAFKA_REST_ZOOKEEPER_CONNECT: localhost:2181 KAFKA_REST_BOOTSTRAP_SERVERS: localhost:9092 diff --git a/CHANGELOG.md b/CHANGELOG.md index 494b5c0b..a2104f51 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ### Unreleased +- Update Kafka to 3.4.0 (confluent 7.4.0) + ### [0.9.11] - [2023-04-25] - v0.9.10 introduced some reflection warnings. Whilst harmless seeing `.deleteTopics` appear in your logs at app startup is a little unsettling. [#358](https://github.com/FundingCircle/jackdaw/pull/358) - fix to re-introduce correct handling of timestamped consumer records. Broke test asserting windowed results. [#356](https://github.com/FundingCircle/jackdaw/pull/356) diff --git a/project.clj b/project.clj index a0e1ca1d..ca441263 100644 --- a/project.clj +++ b/project.clj @@ -15,13 +15,13 @@ ;; Confluent does paired releases with Kafka, this should tie ;; off with the kafka version. ;; See https://docs.confluent.io/current/release-notes.html - [io.confluent/kafka-schema-registry-client "7.3.2" + [io.confluent/kafka-schema-registry-client "7.4.0" :exclusions [com.fasterxml.jackson.core/jackson-databind]] - [io.confluent/kafka-avro-serializer "7.3.2"] - [io.confluent/kafka-json-schema-serializer "7.3.2"] - [org.apache.kafka/kafka-clients "3.3.2"] - [org.apache.kafka/kafka-streams "3.3.2"] - [org.apache.kafka/kafka-streams-test-utils "3.3.2"] + [io.confluent/kafka-avro-serializer "7.4.0"] + [io.confluent/kafka-json-schema-serializer "7.4.0"] + [org.apache.kafka/kafka-clients "3.4.1"] + [org.apache.kafka/kafka-streams "3.4.1"] + [org.apache.kafka/kafka-streams-test-utils "3.4.1"] [org.clojure/clojure "1.11.1" :scope "provided"] [org.clojure/java.data "1.0.95"] @@ -73,10 +73,10 @@ :resource-paths ["test/resources"] :injections [(require 'io.aviso.logging.setup)] :dependencies [[io.aviso/logging "1.0"] - [org.apache.kafka/kafka-streams-test-utils "3.3.2"] - [org.apache.kafka/kafka-clients "3.3.2" :classifier "test"] + [org.apache.kafka/kafka-streams-test-utils "3.4.1"] + [org.apache.kafka/kafka-clients "3.4.1" :classifier "test"] [org.clojure/test.check "1.1.1"] - [org.apache.kafka/kafka_2.13 "3.3.2"] + [org.apache.kafka/kafka_2.13 "3.4.1"] [lambdaisland/kaocha "1.80.1274"] [lambdaisland/kaocha-cloverage "1.1.89"] [lambdaisland/kaocha-junit-xml "1.17.101"]]}