Skip to content

Commit

Permalink
Bump Kafka to 3.1.0 (Debezium 1.9.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
slominskir committed May 2, 2022
1 parent 2e30d5b commit 9620469
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG BUILD_IMAGE=gradle:7.4-jdk17-alpine
ARG RUN_IMAGE=debezium/connect-base:1.8.1.Final
ARG RUN_IMAGE=debezium/connect-base:1.9.2.Final

################## Stage 0
FROM ${BUILD_IMAGE} as builder
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ The following environment variables are required by the scripts:
**Note**: The scripts are Bash (Linux) and wrap the scripts provided with Kafka; plus two single-file java apps are included due to limitations with Kafka provided scripts: TombstoneProducer.java produces tombstone messages and SnapshotConsumer.java consumes a snashot of a topic (rewinds to beginning, replays all messages, and exits once last message is read).

## Build
This project is built with [Java 17](https://adoptium.net/) (compiled to Java 8 bytecode), and uses the [Gradle 7](https://gradle.org/) build tool to automatically download dependencies and build the project from source:
This project is built with [Java 17](https://adoptium.net/) (compiled to Java 11 bytecode), and uses the [Gradle 7](https://gradle.org/) build tool to automatically download dependencies and build the project from source:

```
git clone https://github.com/JeffersonLab/epics2kafka
Expand Down
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ plugins {
}

group 'org.jlab.kafka.connect'
version '1.6.0'
version '1.7.0'

tasks.withType(JavaCompile) {
options.release = 8
options.release = 11
options.encoding = 'UTF-8'
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
Expand All @@ -35,12 +35,12 @@ configurations {
dependencies {
implementation 'org.epics:jca:2.4.6'
compileOnly 'com.fasterxml.jackson.core:jackson-databind:2.13.2.2'
compileOnly 'org.apache.kafka:connect-api:3.0.0'
compileOnly 'org.apache.kafka:connect-api:3.1.0'
compileOnly 'org.slf4j:slf4j-log4j12:1.7.36'
testImplementation 'junit:junit:4.13.2'
integrationImplementation 'org.testcontainers:testcontainers:1.17.0'
integrationImplementation 'org.testcontainers:kafka:1.17.0'
integrationImplementation 'org.apache.kafka:kafka-clients:3.0.0'
integrationImplementation 'org.testcontainers:testcontainers:1.17.1'
integrationImplementation 'org.testcontainers:kafka:1.17.1'
integrationImplementation 'org.apache.kafka:kafka-clients:3.1.0'
integrationImplementation 'org.slf4j:slf4j-log4j12:1.7.36'
}

Expand Down
4 changes: 2 additions & 2 deletions deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
- ./examples/softioc-scripts:/scripts

zookeeper:
image: debezium/zookeeper:1.8.1.Final
image: debezium/zookeeper:1.9.2.Final
hostname: zookeeper
container_name: zookeeper
ports:
Expand All @@ -24,7 +24,7 @@ services:
- "3888:3888"

kafka:
image: debezium/kafka:1.8.1.Final
image: debezium/kafka:1.9.2.Final
hostname: kafka
container_name: kafka
depends_on:
Expand Down

0 comments on commit 9620469

Please sign in to comment.