Skip to content

Commit 94bb436

Browse files
authored
sets default cp version to 5.4.0 (#52)
1 parent 8cf9401 commit 94bb436

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SHELL=/bin/bash -o pipefail
88

99
check-dependency = $(if $(shell command -v $(1)),,$(error Make sure $(1) is installed))
1010

11-
CP_VERSION ?= 5.3.1
11+
CP_VERSION ?= 5.4.0
1212
OPERATOR_VERSION ?= 0
1313

1414
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.2.0

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,22 @@ A Docker image based on Kafka Connect with the `kafka-connect-datagen` plugin is
6565

6666
If you want to build a local copy of the Docker image with `kafka-connect-datagen`, this project provides a [Dockerfile](Dockerfile-local) that you can reference.
6767

68-
You can create a Docker image packaged with the locally built source by running (for example with the 5.3.1 version of Confluent Platform):
68+
You can create a Docker image packaged with the locally built source by running (for example with the 5.4.0 version of Confluent Platform):
6969
```bash
70-
make build-docker-from-local CP_VERSION=5.3.1
70+
make build-docker-from-local CP_VERSION=5.4.0
7171
```
7272

73-
This will build the connector from source and create a local image with an aggregate version number. The aggregate version number is the kafka-connect-datagen connector version number and the Confluent Platform version number separated with a `-`. The local kafka-connect-datagen version number is defined in the `pom.xml` file, and the Confluent Platform version defined in the [Makefile](Makfile). An example of the aggregate version number might be: `0.1.7-5.3.1`.
73+
This will build the connector from source and create a local image with an aggregate version number. The aggregate version number is the kafka-connect-datagen connector version number and the Confluent Platform version number separated with a `-`. The local kafka-connect-datagen version number is defined in the `pom.xml` file, and the Confluent Platform version defined in the [Makefile](Makfile). An example of the aggregate version number might be: `0.2.0-5.4.0`.
7474

7575
Alternatively, you can install the `kafka-connect-datagen` connector from [Confluent Hub](https://www.confluent.io/connector/kafka-connect-datagen/) into a Docker image by running:
7676
```bash
77-
make build-docker-from-released CP_VERSION=5.3.1
77+
make build-docker-from-released CP_VERSION=5.4.0
7878
```
7979

8080
The [Makefile](Makefile) contains some default variables that affect the version numbers of both the installed `kafka-connect-datagen` as well as the base Confluent Platform version. The variables are located near the top of the [Makefile](Makefile) with the following names and current default values:
8181

8282
```bash
83-
CP_VERSION ?= 5.3.1
83+
CP_VERSION ?= 5.4.0
8484

8585
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.2.0
8686
```
@@ -234,9 +234,9 @@ To release new versions of the Docker images to Dockerhub (https://hub.docker.co
234234
The [Makefile](Makefile) contains some default variables that affect the version numbers of both the installed `kafka-connect-datagen` as well as the base Confluent Platform version. The variables are located near the top of the [Makefile](Makefile) with the following names and current default values:
235235

236236
```bash
237-
CP_VERSION ?= 5.3.1
238-
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.1.7
239-
OPERATOR_VERSION ?= 0 # Operator is a 'rev' version appended at the end of the CP version, like so: 5.3.1.0
237+
CP_VERSION ?= 5.4.0
238+
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.2.0
239+
OPERATOR_VERSION ?= 0 # Operator is a 'rev' version appended at the end of the CP version, like so: 5.4.0.0
240240
```
241241

242242
To publish the https://hub.docker.com/r/cnfldemos/kafka-connect-datagen/ image:
@@ -246,12 +246,12 @@ make push-from-released
246246

247247
and to override the CP Version of the `kafka-connect-datagen` version you can run something similar to:
248248
```bash
249-
CP_VERSION=5.3.0 KAFKA_CONNECT_DATAGEN_VERSION=0.1.4 make publish-cp-kafka-connect-confluenthub
249+
CP_VERSION=5.4.0 KAFKA_CONNECT_DATAGEN_VERSION=0.1.4 make publish-cp-kafka-connect-confluenthub
250250
```
251251

252252
to override the CP Version and the Operator version, which may happen if Operator releases a patch version, you could run something similar to:
253253
```bash
254-
CP_VERSION=5.3.0 OPERATOR_VERSION=1 KAFKA_CONNECT_DATAGEN_VERSION=0.1.4 make push-cp-server-connect-operator-from-released
254+
CP_VERSION=5.4.0 OPERATOR_VERSION=1 KAFKA_CONNECT_DATAGEN_VERSION=0.1.4 make push-cp-server-connect-operator-from-released
255255
```
256-
which would result in a docker image tagged as: `cp-server-connect-operator-datagen:0.1.4-5.3.0.1` and pushed to DockerHub
256+
which would result in a docker image tagged as: `cp-server-connect-operator-datagen:0.1.4-5.4.0.1` and pushed to DockerHub
257257

0 commit comments

Comments
 (0)