You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,22 +65,22 @@ A Docker image based on Kafka Connect with the `kafka-connect-datagen` plugin is
65
65
66
66
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.
67
67
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):
69
69
```bash
70
-
make build-docker-from-local CP_VERSION=5.3.1
70
+
make build-docker-from-local CP_VERSION=5.4.0
71
71
```
72
72
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`.
74
74
75
75
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:
76
76
```bash
77
-
make build-docker-from-released CP_VERSION=5.3.1
77
+
make build-docker-from-released CP_VERSION=5.4.0
78
78
```
79
79
80
80
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:
81
81
82
82
```bash
83
-
CP_VERSION ?= 5.3.1
83
+
CP_VERSION ?= 5.4.0
84
84
85
85
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.2.0
86
86
```
@@ -234,9 +234,9 @@ To release new versions of the Docker images to Dockerhub (https://hub.docker.co
234
234
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:
235
235
236
236
```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
240
240
```
241
241
242
242
To publish the https://hub.docker.com/r/cnfldemos/kafka-connect-datagen/ image:
@@ -246,12 +246,12 @@ make push-from-released
246
246
247
247
and to override the CP Version of the `kafka-connect-datagen` version you can run something similar to:
248
248
```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
250
250
```
251
251
252
252
to override the CP Version and the Operator version, which may happen if Operator releases a patch version, you could run something similar to:
253
253
```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
255
255
```
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
0 commit comments