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
@@ -70,7 +70,7 @@ You can create a Docker image packaged with the locally built source by running
70
70
make build-docker-from-local CP_VERSION=5.5.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.3.2-5.5.0`.
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.4.0-6.0.1`.
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
@@ -80,9 +80,9 @@ make build-docker-from-released CP_VERSION=5.5.0
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.5.0
83
+
CP_VERSION ?= 6.0.1
84
84
85
-
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.3.2
85
+
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.4.0
86
86
```
87
87
These values can be overriden with variable declarations before the `make` command. For example:
`max.interval` | Max interval between messages (ms) | 500
125
125
`iterations` | Number of messages to send from each task, or less than 1 for unlimited | -1
126
-
`schema.filename` | Filename of schema to use
126
+
`schema.string` | The literal JSON-encoded Avro schema to use. Cannot be set with `schema.filename` or `quickstart`
127
+
`schema.filename` | Filename of schema to use. Cannot be set with `schema.string` or `quickstart`
127
128
`schema.keyfield` | Name of field to use as the message key
128
-
`quickstart` | Name of [quickstart](https://github.com/confluentinc/kafka-connect-datagen/tree/master/src/main/resources) to use
129
+
`quickstart` | Name of [quickstart](https://github.com/confluentinc/kafka-connect-datagen/tree/master/src/main/resources) to use. Cannot be set with `schema.string` or `schema.filename`
129
130
130
131
## Sample configurations
131
132
@@ -140,7 +141,7 @@ For an example of using the the Protobuf converter with kafka-connect-datagen, s
140
141
## Use a bundled schema specification
141
142
142
143
There are a few quickstart schema specifications bundled with `kafka-connect-datagen`, and they are listed in this [directory](https://github.com/confluentinc/kafka-connect-datagen/tree/master/src/main/resources).
143
-
To use one of these bundled schema, refer to [this mapping](https://github.com/confluentinc/kafka-connect-datagen/blob/master/src/main/java/io/confluent/kafka/connect/datagen/DatagenTask.java#L66-L73) and in the configuration file, set the parameter `quickstart` to the associated name.
144
+
To use one of these bundled schema, refer to [this mapping](https://github.com/confluentinc/kafka-connect-datagen/blob/master/src/main/java/io/confluent/kafka/connect/datagen/DatagenTask.java#L75-L86) and in the configuration file, set the parameter `quickstart` to the associated name.
144
145
For example:
145
146
146
147
```bash
@@ -246,8 +247,8 @@ To release new versions of the Docker images to Dockerhub (https://hub.docker.co
246
247
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:
247
248
248
249
```bash
249
-
CP_VERSION ?= 5.5.0
250
-
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.3.2
250
+
CP_VERSION ?= 6.0.1
251
+
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.4.0
251
252
OPERATOR_VERSION ?= 0 # Operator is a 'rev' version appended at the end of the CP version, like so: 5.5.0.0
0 commit comments