Skip to content

Commit 757b45a

Browse files
authored
Update default datagen version in makefile (#43)
1 parent 704cc69 commit 757b45a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ check-dependencies:
1616
@#(call check-dependency,sed)
1717

1818
CP_VERSION ?= 5.3.1
19-
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.1.5
19+
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.1.6
2020
AGGREGATE_VERSION = $(KAFKA_CONNECT_DATAGEN_VERSION)-$(CP_VERSION)
2121

2222
KAFKA_CONNECT_DATAGEN_LOCAL_VERSION = $(shell make local-package-version)

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# Versions
1515

1616
There are multiple [released versions](https://github.com/confluentinc/kafka-connect-datagen/releases) of this connector, starting with `0.1.0`.
17-
The instructions below use version `0.1.5` as an example, but you can substitute any of the other released versions.
17+
The instructions below use version `0.1.6` as an example, but you can substitute any of the other released versions.
1818
In fact, unless specified otherwise, we recommend using the latest released version to get all of the features and bug fixes.
1919

2020
# Usage
@@ -28,7 +28,7 @@ Using the [Confluent Hub Client](https://docs.confluent.io/current/connect/manag
2828
To install a specific release version you can run:
2929

3030
```bash
31-
confluent-hub install confluentinc/kafka-connect-datagen:0.1.5
31+
confluent-hub install confluentinc/kafka-connect-datagen:0.1.6
3232
```
3333

3434
or to install the latest released version:
@@ -57,7 +57,7 @@ You can create a Docker image packaged with the locally built source by running:
5757
make build-docker-from-local
5858
```
5959

60-
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.5-5.3.1`.
60+
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.6-5.3.1`.
6161

6262
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:
6363
```bash
@@ -68,7 +68,7 @@ The [Makefile](Makefile) contains some default variables that affect the version
6868

6969
```bash
7070
CP_VERSION ?= 5.3.1
71-
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.1.5
71+
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.1.6
7272
```
7373
These values can be overriden with variable declarations before the `make` command. For example:
7474
```bash
@@ -86,12 +86,12 @@ docker-compose exec connect kafka-console-consumer --topic pageviews --bootstrap
8686
```
8787
## Building
8888

89-
To build the `kafka-connect-datagen` connector from latest code and install it to a local Confluent Platform, you can perform the following (here we use `v0.1.5` to reference the git tag for the `0.1.5` version, but the same pattern works for all released versions).
89+
To build the `kafka-connect-datagen` connector from latest code and install it to a local Confluent Platform, you can perform the following (here we use `v0.1.6` to reference the git tag for the `0.1.6` version, but the same pattern works for all released versions).
9090

9191
```bash
92-
git checkout v0.1.5
92+
git checkout v0.1.6
9393
make package
94-
confluent-hub install target/components/packages/confluentinc-kafka-connect-datagen-0.1.5.zip
94+
confluent-hub install target/components/packages/confluentinc-kafka-connect-datagen-0.1.6.zip
9595
```
9696

9797
# Configuration
@@ -193,7 +193,7 @@ The [Makefile](Makefile) contains some default variables that affect the version
193193

194194
```bash
195195
CP_VERSION ?= 5.3.1
196-
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.1.5
196+
KAFKA_CONNECT_DATAGEN_VERSION ?= 0.1.6
197197
```
198198

199199
To publish the https://hub.docker.com/r/cnfldemos/kafka-connect-datagen/ image:

0 commit comments

Comments
 (0)