Skip to content

Commit

Permalink
Set Confluent to 7.0.0, Kafka to 7.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ConfluentJenkins committed Oct 21, 2021
1 parent 1342cbc commit da82421
Show file tree
Hide file tree
Showing 30 changed files with 52 additions and 52 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ The next step is to create a standalone jar ("fat jar") of the [application exam
# Create a standalone jar ("fat jar")
$ mvn clean package
# >>> Creates target/kafka-streams-examples-7.0.0-0-standalone.jar
# >>> Creates target/kafka-streams-examples-7.0.0-standalone.jar
```
> Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower
Expand All @@ -333,7 +333,7 @@ You can now run the application examples as follows:
```shell
# Run an example application from the standalone jar. Here: `WordCountLambdaExample`
$ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
$ java -cp target/kafka-streams-examples-7.0.0-standalone.jar \
io.confluent.examples.streams.WordCountLambdaExample
```
Expand All @@ -348,7 +348,7 @@ If you want to turn on log4j while running your example application, you can edi
```shell
# Run an example application from the standalone jar. Here: `WordCountLambdaExample`
$ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
$ java -cp target/kafka-streams-examples-7.0.0-standalone.jar \
-Dlog4j.configuration=file:src/main/resources/log4j.properties \
io.confluent.examples.streams.WordCountLambdaExample
```
Expand Down
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
version: '2'
services:
zookeeper:
image: confluentinc/cp-zookeeper:7.0.x-latest
image: confluentinc/cp-zookeeper:7.0.0
hostname: zookeeper
ports:
- '32181:32181'
Expand All @@ -13,7 +13,7 @@ services:
- "moby:127.0.0.1"

kafka:
image: confluentinc/cp-enterprise-kafka:7.0.x-latest
image: confluentinc/cp-enterprise-kafka:7.0.0
hostname: kafka
ports:
- '9092:9092'
Expand All @@ -38,7 +38,7 @@ services:
- "moby:127.0.0.1"

schema-registry:
image: confluentinc/cp-schema-registry:7.0.x-latest
image: confluentinc/cp-schema-registry:7.0.0
hostname: schema-registry
depends_on:
- zookeeper
Expand All @@ -54,7 +54,7 @@ services:
# This "container" is a workaround to pre-create topics for the Kafka Music application
# until we have a more elegant way to do that.
kafka-create-topics:
image: confluentinc/cp-kafka:7.0.x-latest
image: confluentinc/cp-kafka:7.0.0
depends_on:
- kafka
hostname: kafka-create-topics
Expand All @@ -78,7 +78,7 @@ services:

# Continuously generates input data for the Kafka Music application.
kafka-music-data-generator:
image: confluentinc/kafka-streams-examples:7.0.x-latest
image: confluentinc/kafka-streams-examples:7.0.0
hostname: kafka-music-data-generator
depends_on:
- kafka
Expand All @@ -89,7 +89,7 @@ services:
cub kafka-ready -b kafka:29092 1 20 && \
echo Waiting for Confluent Schema Registry to be ready... && \
cub sr-ready schema-registry 8081 20 && \
java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.0-0-standalone.jar \
java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.0-standalone.jar \
io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \
kafka:29092 http://schema-registry:8081'"
environment:
Expand All @@ -103,7 +103,7 @@ services:

# Runs the Kafka Music application.
kafka-music-application:
image: confluentinc/kafka-streams-examples:7.0.x-latest
image: confluentinc/kafka-streams-examples:7.0.0
hostname: kafka-music-application
depends_on:
- kafka
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<parent>
<groupId>io.confluent</groupId>
<artifactId>rest-utils-parent</artifactId>
<version>[7.0.0-0, 7.0.1-0)</version>
<version>7.0.0</version>
</parent>

<artifactId>kafka-streams-examples</artifactId>
<packaging>jar</packaging>
<version>7.0.0-0</version>
<version>7.0.0</version>

<organization>
<name>Confluent, Inc.</name>
Expand Down Expand Up @@ -66,7 +66,7 @@
<docker.tag>${project.version}-${docker.os_type}</docker.tag>
<io.confluent.schema-registry.version>${confluent.version.range}</io.confluent.schema-registry.version>
<io.confluent.blueway.version>${confluent.version.range}</io.confluent.blueway.version>
<io.confluent.kafka-streams-examples.version>7.0.0-0</io.confluent.kafka-streams-examples.version>
<io.confluent.kafka-streams-examples.version>7.0.0</io.confluent.kafka-streams-examples.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
* }</pre>
* <p>
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
* }
* </pre>
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}).
Expand Down Expand Up @@ -114,7 +114,7 @@
* Thus, restart the application via:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
* }</pre>
* 9) If your console consumer (from step 5) is still running, you should see the same output data again.
* If it was stopped and you restart it, if will print the result "twice".
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
* }
* </pre>
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The
Expand All @@ -86,7 +86,7 @@
* {@code
* # Here: Write input data using the example driver. The driver will exit once it has received
* # all EnrichedOrders
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver
* }
* </pre>
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
* }
* </pre>
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The
Expand All @@ -68,7 +68,7 @@
* {@code
* # Here: Write input data using the example driver. Once the driver has stopped generating data,
* # you can terminate it via Ctrl-C.
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
* }
* </pre>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
* java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
* }
* </pre>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
* }
* </pre>
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
* }
* </pre>
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The
Expand All @@ -88,7 +88,7 @@
* {@code
* # Here: Write input data using the example driver. Once the driver has stopped generating data,
* # you can terminate it via `Ctrl-C`.
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
* }
* </pre>
* 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
* }
* </pre>
* You should terminate with {@code Ctrl-C}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
* }
* </pre>
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}).
Expand All @@ -85,7 +85,7 @@
* {@code
* # Here: Write input data using the example driver. Once the driver has stopped generating data,
* # you can terminate it via `Ctrl-C`.
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
* }
* </pre>
* 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
* [vagrant@kafka ~]$ mvn clean -DskipTests=true package
*
* # Now we can start this example application
* [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
* [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.0-standalone.jar \
* io.confluent.examples.streams.SecureKafkaStreamsExample
* }
* </pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
* }
* </pre>
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The
Expand All @@ -80,7 +80,7 @@
* {@code
* # Here: Write input data using the example driver. The driver will also consume, and print, the data from the output
* topic. The driver will stop when it has received all output records
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
* }
* </pre>
* You should see output data similar to:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
* }
* </pre>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.SumLambdaExample
* }
* </pre>
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The
Expand All @@ -63,7 +63,7 @@
* {@code
* # Here: Write input data using the example driver. Once the driver has stopped generating data,
* # you can terminate it via `Ctrl-C`.
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
* }
* </pre>
* 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
* }
* </pre>
* You should terminate with {@code Ctrl-C}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
* java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
* }
* </pre>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
* }
* </pre>
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}).
Expand All @@ -92,7 +92,7 @@
* {@code
* # Here: Write input data using the example driver. Once the driver has stopped generating data,
* # you can terminate it via Ctrl-C.
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver
* }
* </pre>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
* }
* </pre>
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
* }
* </pre>
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).
Expand All @@ -69,7 +69,7 @@
* {@code
* # Here: Write input data using the example driver. Once the driver has stopped generating data,
* # you can terminate it via Ctrl-C.
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
* }
* </pre>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
* java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
* }
* </pre>
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
* }
* </pre>
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).
Expand All @@ -66,7 +66,7 @@
* {@code
* # Here: Write input data using the example driver. Once the driver has stopped generating data,
* # you can terminate it via Ctrl-C.
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
* }
* </pre>
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
* Once packaged you can then run:
* <pre>
* {@code
* $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
* $ java -cp target/kafka-streams-examples-7.0.0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
* }
* </pre>
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}).
Expand Down
Loading

0 comments on commit da82421

Please sign in to comment.