From 2430b3097b58dc068d83008e8dd3ab09304940d0 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Tue, 13 Jul 2021 01:30:17 +0000 Subject: [PATCH 01/70] Bump Confluent to 7.1.0-0, Kafka to 7.1.0-0 --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index e6b8fbbe05..86d71cdeb0 100644 --- a/README.md +++ b/README.md @@ -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.1.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 @@ -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.1.0-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.0-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index be49ff7763..df1bec5e0c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.0.x-latest + image: confluentinc/cp-zookeeper:7.1.x-latest hostname: zookeeper ports: - '32181:32181' @@ -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.1.x-latest hostname: kafka ports: - '9092:9092' @@ -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.1.x-latest hostname: schema-registry depends_on: - zookeeper @@ -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.1.x-latest depends_on: - kafka hostname: kafka-create-topics @@ -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.1.x-latest hostname: kafka-music-data-generator depends_on: - kafka @@ -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.1.0-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -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.1.x-latest hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index c2bdfebe98..089fb8baf1 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.0-0, 7.0.1-0) + [7.1.0-0, 7.1.1-0) kafka-streams-examples jar - 7.0.0-0 + 7.1.0-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.0-0 + 7.1.0-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index c01f87c559..f9c4ffea64 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 06e39ba740..5b6c9a5427 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 98b43732eb..14e8310143 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index e0480311a4..1da13e8401 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 49ec537c21..5eff2b9262 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index efc59aa794..39d81a5dc3 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 66b24934b0..4d2814d4f3 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index fbc57087b9..b884a85589 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 6c482d5335..95897dd283 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 870c349228..9d76535041 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.0-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 5275949eaa..dc73423aa5 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 2a3eb464eb..91f424037e 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index d5a8cfc0b0..9e65df7c49 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index b2b434282f..64ab8bd512 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -41,7 +41,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 28e8181420..1d2494c116 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 182ba37c0e..fbd6199e03 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index d9e33e3e91..ce130977c6 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 87c0366c82..169a18f2b7 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 2e377ea245..930c0d732d 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index ad7d7352cd..c99e72cb46 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 5863d04acc..6a10015489 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@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.1.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 51513e210b..191047994c 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 2f39a4d506..e995e8f19f 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 18a5794eac..3888bae108 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index b184b9cb34..7633a4dcca 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 3b19bb9bd5..6227a9c2ed 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 6058accbd7..2978eb451f 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From f47171fceb819d626070421de40f7cea4019e70c Mon Sep 17 00:00:00 2001 From: "A. Sophie Blee-Goldman" Date: Mon, 2 Aug 2021 17:47:04 -0700 Subject: [PATCH 02/70] Fix build due to internal API usage #398 Need to update usage of the internal API ProcessorStateManager#storeChangelogTopic --- .../examples/streams/algebird/CMSStoreChangeLogger.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala b/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala index 362f0810cc..1d6f7a8cbe 100644 --- a/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala +++ b/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala @@ -33,7 +33,7 @@ class CMSStoreChangeLogger[K, V](val storeName: String, val partition: Int, val serialization: StateSerdes[K, V]) { - private val topic = ProcessorStateManager.storeChangelogTopic(context.applicationId, storeName) + private val topic = ProcessorStateManager.storeChangelogTopic(context.applicationId, storeName, false) private val collector = context.asInstanceOf[RecordCollector.Supplier].recordCollector def this(storeName: String, context: StateStoreContext, serialization: StateSerdes[K, V]) = { From 5e0845d88995da07875c9213b04c83e586f559d0 Mon Sep 17 00:00:00 2001 From: Leah Thomas Date: Mon, 9 Aug 2021 11:57:50 -0500 Subject: [PATCH 03/70] fix: use correct internal changelog topic api --- .../examples/streams/algebird/CMSStoreChangeLogger.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala b/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala index 1d6f7a8cbe..b1617d1a88 100644 --- a/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala +++ b/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala @@ -33,7 +33,7 @@ class CMSStoreChangeLogger[K, V](val storeName: String, val partition: Int, val serialization: StateSerdes[K, V]) { - private val topic = ProcessorStateManager.storeChangelogTopic(context.applicationId, storeName, false) + private val topic = ProcessorStateManager.storeChangelogTopic(context.applicationId, storeName, context.taskId().namedTopology()) private val collector = context.asInstanceOf[RecordCollector.Supplier].recordCollector def this(storeName: String, context: StateStoreContext, serialization: StateSerdes[K, V]) = { From 31e9be5817abb3073ef95b54c31563cc2d1a9148 Mon Sep 17 00:00:00 2001 From: Leah Thomas Date: Mon, 9 Aug 2021 12:18:20 -0500 Subject: [PATCH 04/70] fix for inventory service --- .../streams/microservices/InventoryServiceTest.java | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/test/java/io/confluent/examples/streams/microservices/InventoryServiceTest.java b/src/test/java/io/confluent/examples/streams/microservices/InventoryServiceTest.java index 141f8491d6..cd697baefd 100644 --- a/src/test/java/io/confluent/examples/streams/microservices/InventoryServiceTest.java +++ b/src/test/java/io/confluent/examples/streams/microservices/InventoryServiceTest.java @@ -92,10 +92,17 @@ public void shouldProcessOrdersWithSufficientStockAndRejectOrdersWithInsufficien private List> readInventoryStateStore(final int numberOfRecordsToWaitFor) throws InterruptedException { + // named topologies are experimental, using `null` for now return IntegrationTestUtils - .waitUntilMinKeyValueRecordsReceived(inventoryConsumerProperties(CLUSTER), - ProcessorStateManager.storeChangelogTopic(InventoryService.SERVICE_APP_ID, - InventoryService.RESERVED_STOCK_STORE_NAME), numberOfRecordsToWaitFor); + .waitUntilMinKeyValueRecordsReceived( + inventoryConsumerProperties(CLUSTER), + ProcessorStateManager.storeChangelogTopic( + InventoryService.SERVICE_APP_ID, + InventoryService.RESERVED_STOCK_STORE_NAME, + null + ), + numberOfRecordsToWaitFor + ); } private static Properties inventoryConsumerProperties(final EmbeddedSingleNodeKafkaCluster cluster) { From 2e23aa123636b8ab00becea28d8ce104d1577e11 Mon Sep 17 00:00:00 2001 From: "Matthias J. Sax" Date: Mon, 9 Aug 2021 23:17:37 -0700 Subject: [PATCH 05/70] MINOR: fix compile error (#402) The changed API is public, but it's not release yet, thus there is no upstream deprecation necessary, but the KIP was changed. --- .../examples/streams/algebird/CMSStoreChangeLogger.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala b/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala index b1617d1a88..40628e8bf3 100644 --- a/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala +++ b/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala @@ -33,7 +33,7 @@ class CMSStoreChangeLogger[K, V](val storeName: String, val partition: Int, val serialization: StateSerdes[K, V]) { - private val topic = ProcessorStateManager.storeChangelogTopic(context.applicationId, storeName, context.taskId().namedTopology()) + private val topic = ProcessorStateManager.storeChangelogTopic(context.applicationId, storeName, context.taskId().topologyName()) private val collector = context.asInstanceOf[RecordCollector.Supplier].recordCollector def this(storeName: String, context: StateStoreContext, serialization: StateSerdes[K, V]) = { From 9f79fafb775d6a03003e732853af8a6a0ec66f35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Pe=C3=B1a?= Date: Thu, 26 Aug 2021 13:42:59 -0500 Subject: [PATCH 06/70] 7.0.x revert stream fix (#404) (#405) --- .../StreamToStreamJoinIntegrationTest.java | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/test/java/io/confluent/examples/streams/StreamToStreamJoinIntegrationTest.java b/src/test/java/io/confluent/examples/streams/StreamToStreamJoinIntegrationTest.java index 774569cea3..2f12af1bb9 100644 --- a/src/test/java/io/confluent/examples/streams/StreamToStreamJoinIntegrationTest.java +++ b/src/test/java/io/confluent/examples/streams/StreamToStreamJoinIntegrationTest.java @@ -18,6 +18,7 @@ import org.apache.kafka.common.serialization.Serdes; import org.apache.kafka.common.serialization.StringDeserializer; import org.apache.kafka.common.serialization.StringSerializer; +import org.apache.kafka.streams.KeyValue; import org.apache.kafka.streams.StreamsBuilder; import org.apache.kafka.streams.StreamsConfig; import org.apache.kafka.streams.TestInputTopic; @@ -26,12 +27,10 @@ import org.apache.kafka.streams.kstream.JoinWindows; import org.apache.kafka.streams.kstream.KStream; import org.apache.kafka.streams.kstream.StreamJoined; -import org.apache.kafka.streams.test.TestRecord; import org.apache.kafka.test.TestUtils; import org.junit.Test; import java.time.Duration; -import java.time.Instant; import java.util.Arrays; import java.util.List; import java.util.Properties; @@ -53,25 +52,26 @@ public class StreamToStreamJoinIntegrationTest { @Test public void shouldJoinTwoStreams() { // Input 1: Ad impressions - final List> inputAdImpressions = Arrays.asList( - new TestRecord<>("car-advertisement", "shown", Instant.ofEpochMilli(10L)), // outer join result - new TestRecord<>("newspaper-advertisement", "shown", Instant.ofEpochMilli(30L)), - new TestRecord<>("gadget-advertisement", "shown", Instant.ofEpochMilli(40L)) + final List> inputAdImpressions = Arrays.asList( + new KeyValue<>("car-advertisement", "shown"), + new KeyValue<>("newspaper-advertisement", "shown"), + new KeyValue<>("gadget-advertisement", "shown") ); // Input 2: Ad clicks - final List> inputAdClicks = Arrays.asList( - new TestRecord<>("newspaper-advertisement", "clicked", Instant.ofEpochMilli(35L)), - new TestRecord<>("gadget-advertisement", "clicked", Instant.ofEpochMilli(45L)), - new TestRecord<>("newspaper-advertisement", "clicked", Instant.ofEpochMilli(30L).plus(Duration.ofSeconds(5L))), - new TestRecord<>("newspaper-advertisement", "clicked", Instant.ofEpochMilli(31L).plus(Duration.ofSeconds(5L))) // advance stream-time and "drain" outer join result + final List> inputAdClicks = Arrays.asList( + new KeyValue<>("newspaper-advertisement", "clicked"), + new KeyValue<>("gadget-advertisement", "clicked"), + new KeyValue<>("newspaper-advertisement", "clicked") ); - final List> expectedResults = Arrays.asList( - new TestRecord<>("newspaper-advertisement", "shown/clicked", Instant.ofEpochMilli(35L)), - new TestRecord<>("gadget-advertisement", "shown/clicked", Instant.ofEpochMilli(45L)), - new TestRecord<>("car-advertisement", "shown/not-clicked-yet", Instant.ofEpochMilli(10L)), - new TestRecord<>("newspaper-advertisement", "shown/clicked", Instant.ofEpochMilli(30L).plus(Duration.ofSeconds(5L))) + final List> expectedResults = Arrays.asList( + new KeyValue<>("car-advertisement", "shown/not-clicked-yet"), + new KeyValue<>("newspaper-advertisement", "shown/not-clicked-yet"), + new KeyValue<>("gadget-advertisement", "shown/not-clicked-yet"), + new KeyValue<>("newspaper-advertisement", "shown/clicked"), + new KeyValue<>("gadget-advertisement", "shown/clicked"), + new KeyValue<>("newspaper-advertisement", "shown/clicked") ); // @@ -98,7 +98,7 @@ public void shouldJoinTwoStreams() { (impressionValue, clickValue) -> (clickValue == null)? impressionValue + "/not-clicked-yet": impressionValue + "/" + clickValue, // KStream-KStream joins are always windowed joins, hence we must provide a join window. - JoinWindows.ofTimeDifferenceWithNoGrace(Duration.ofSeconds(5)), + JoinWindows.of(Duration.ofSeconds(5)), // In this specific example, we don't need to define join serdes explicitly because the key, left value, and // right value are all of type String, which matches our default serdes configured for the application. However, // we want to showcase the use of `StreamJoined.with(...)` in case your code needs a different type setup. @@ -130,13 +130,13 @@ public void shouldJoinTwoStreams() { // // Step 3: Publish input data. // - impressionInput.pipeRecordList(inputAdImpressions); - clickInput.pipeRecordList(inputAdClicks); + impressionInput.pipeKeyValueList(inputAdImpressions); + clickInput.pipeKeyValueList(inputAdClicks); // // Step 4: Verify the application's output data. // - assertThat(output.readRecordsToList(), equalTo(expectedResults)); + assertThat(output.readKeyValuesToList(), equalTo(expectedResults)); } } } \ No newline at end of file From 6ebb0a4b3fd6f4dbd1ef7cb2db6d1b09c3b813a1 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 3 Nov 2021 20:07:32 +0000 Subject: [PATCH 07/70] Bump Confluent to 7.0.1-0, Kafka to 7.0.1-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index e6b8fbbe05..7e3448f262 100644 --- a/README.md +++ b/README.md @@ -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.1-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index be49ff7763..1665bfc0dd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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.1-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index c2bdfebe98..8039eceb54 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.0-0, 7.0.1-0) + [7.0.1-0, 7.0.2-0) kafka-streams-examples jar - 7.0.0-0 + 7.0.1-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.0-0 + 7.0.1-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index c01f87c559..1b349d2e0d 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 06e39ba740..de2452a929 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@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.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 98b43732eb..5b6d4e1797 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index e0480311a4..62c78e04b5 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@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.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 49ec537c21..4f002f62bf 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index efc59aa794..c052839586 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 66b24934b0..a1316e8dba 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index fbc57087b9..c26e9a0160 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 6c482d5335..b6878404ce 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 870c349228..116c80517d 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 5275949eaa..d888b9183c 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 2a3eb464eb..e1ecbfd525 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index d5a8cfc0b0..4b329465d8 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 0cf24ff877..fbd916cfd2 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 28e8181420..06734d7371 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 182ba37c0e..22e820a245 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index d9e33e3e91..fb79167950 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 87c0366c82..f267a43ba8 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 2e377ea245..9bc1ddf9c9 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index ad7d7352cd..aadb6c5099 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 5863d04acc..c9399c0f59 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@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.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 51513e210b..4e1a928fc3 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 2f39a4d506..44f24afe4d 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 18a5794eac..554bc9b19c 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index b184b9cb34..7c3b90fa36 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 3b19bb9bd5..593e3a8cb7 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 6058accbd7..7a26f89e1d 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ 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.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 31faadba32664fc247aa18d70c629c05c89dbbf3 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 17 Nov 2021 22:22:48 +0000 Subject: [PATCH 08/70] Bump Confluent to 7.1.0-0, Kafka to 7.1.0-0 --- .../java/io/confluent/examples/streams/microservices/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/confluent/examples/streams/microservices/README.md b/src/main/java/io/confluent/examples/streams/microservices/README.md index 5b31189325..5e5ba73195 100644 --- a/src/main/java/io/confluent/examples/streams/microservices/README.md +++ b/src/main/java/io/confluent/examples/streams/microservices/README.md @@ -34,7 +34,7 @@ Then run the fully-working demo [end-to-end](https://docs.confluent.io/current/t It runs the ecosystem and all the microservices for you including Kafka Connect, Elasticsearch, KSQL and Control Center. To play with this ecosystem the simplest way is to run the tests and fiddle with the code (stand alone execution is only supported in branch 5.0.0+ so go there if you want stand alone or docker support). Each test boots a self-contained Kafka cluster so it's easy to play with different queries and configurations. -The best place to start is [EndToEndTest.java](https://github.com/confluentinc/kafka-streams-examples/blob/master/src/test/java/io/confluent/examples/streams/microservices/EndToEndTest.java) +The best place to start is [EndToEndTest.java](https://github.com/confluentinc/kafka-streams-examples/blob/7.1.x/src/test/java/io/confluent/examples/streams/microservices/EndToEndTest.java) # Running the Examples: * Requires Java 1.8 From 2215e6312190b19b3e953bdf1b7bfbdf54ca9b2a Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 17 Nov 2021 22:23:09 +0000 Subject: [PATCH 09/70] Bump Confluent to 7.2.0-0, Kafka to 7.2.0-0 --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 86d71cdeb0..814acef240 100644 --- a/README.md +++ b/README.md @@ -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.1.0-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.2.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 @@ -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.1.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index df1bec5e0c..51999f9a4c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.1.x-latest + image: confluentinc/cp-zookeeper:7.2.x-latest hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.1.x-latest + image: confluentinc/cp-enterprise-kafka:7.2.x-latest hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.1.x-latest + image: confluentinc/cp-schema-registry:7.2.x-latest hostname: schema-registry depends_on: - zookeeper @@ -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.1.x-latest + image: confluentinc/cp-kafka:7.2.x-latest depends_on: - kafka hostname: kafka-create-topics @@ -78,7 +78,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.1.x-latest + image: confluentinc/kafka-streams-examples:7.2.x-latest hostname: kafka-music-data-generator depends_on: - kafka @@ -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.1.0-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.2.0-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -103,7 +103,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.1.x-latest + image: confluentinc/kafka-streams-examples:7.2.x-latest hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 089fb8baf1..15c7559d5d 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.1.0-0, 7.1.1-0) + [7.2.0-0, 7.2.1-0) kafka-streams-examples jar - 7.1.0-0 + 7.2.0-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.0-0 + 7.2.0-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index f9c4ffea64..f413b9f24a 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 5b6c9a5427..676a33d317 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 14e8310143..1e503f46e1 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 1da13e8401..5164542472 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 5eff2b9262..f018773ac0 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 39d81a5dc3..593ed6dbb8 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 4d2814d4f3..afbf2046b6 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index b884a85589..01017fb116 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 95897dd283..365a73d85d 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 9d76535041..ae77ed32f8 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.0-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index dc73423aa5..fc5c6dcd21 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 91f424037e..a12d0a9cd9 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 9e65df7c49..ba1173ced6 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 229101d776..bcf27683f4 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 1d2494c116..259cbe0a16 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index fbd6199e03..df27b34d8a 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index ce130977c6..9278bad51e 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 169a18f2b7..2313484929 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 930c0d732d..024f829981 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index c99e72cb46..7b620cbb94 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 6a10015489..55a15a2402 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 191047994c..3039538809 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index e995e8f19f..a6cade4321 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 3888bae108..7482a0c7bd 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 7633a4dcca..b1959a665a 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 6227a9c2ed..8c94256a54 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 2978eb451f..62d74c7aad 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From fc5394b1c6965800fbc96b9f2449bbbc82333e24 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Fri, 3 Dec 2021 18:36:20 +0000 Subject: [PATCH 10/70] Set Confluent to 7.0.1, Kafka to 7.0.1. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 7e3448f262..cc0b8d90cb 100644 --- a/README.md +++ b/README.md @@ -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.1-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.1-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.1-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.1-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 1665bfc0dd..0cbc19bade 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.0.x-latest + image: confluentinc/cp-zookeeper:7.0.1 hostname: zookeeper ports: - '32181:32181' @@ -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.1 hostname: kafka ports: - '9092:9092' @@ -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.1 hostname: schema-registry depends_on: - zookeeper @@ -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.1 depends_on: - kafka hostname: kafka-create-topics @@ -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.1 hostname: kafka-music-data-generator depends_on: - kafka @@ -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.1-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.1-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -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.1 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 8039eceb54..0eee6563bb 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.1-0, 7.0.2-0) + 7.0.1 kafka-streams-examples jar - 7.0.1-0 + 7.0.1 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.1-0 + 7.0.1 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 1b349d2e0d..66e6f15500 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index de2452a929..0d8918ad82 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 5b6d4e1797..f27bed81e9 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 62c78e04b5..54a868a7a5 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 4f002f62bf..693e8dc399 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index c052839586..69842b5f61 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index a1316e8dba..428299d19d 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index c26e9a0160..3e2c753caa 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index b6878404ce..91586ff828 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 116c80517d..c067f686bd 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.1-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index d888b9183c..c510e820b5 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index e1ecbfd525..19ff5a99e6 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 4b329465d8..abaa72aa39 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index fbd916cfd2..af4e5d589c 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 06734d7371..e0c69b3edd 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 22e820a245..8ec08d7e83 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index fb79167950..d6680db94b 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index f267a43ba8..eac8eacffb 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 9bc1ddf9c9..ca9113c3c7 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index aadb6c5099..02d123fb3c 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index c9399c0f59..6f8c4e2986 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 4e1a928fc3..7f547477f5 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 44f24afe4d..241ad6e2d0 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 554bc9b19c..dc5fad840b 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 7c3b90fa36..90ef0b23fe 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 593e3a8cb7..8ccee52dbe 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 7a26f89e1d..79ab26afbb 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.1-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 572f21a7da067a5453291d0438d1399231a8fca3 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Fri, 17 Dec 2021 21:41:30 +0000 Subject: [PATCH 11/70] Bump Confluent to 7.0.2-0, Kafka to 7.0.2-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 7e3448f262..98799ce910 100644 --- a/README.md +++ b/README.md @@ -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.1-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.2-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 1665bfc0dd..2c391bbca4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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.1-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.2-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 8039eceb54..54c8d0f734 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.1-0, 7.0.2-0) + [7.0.2-0, 7.0.3-0) kafka-streams-examples jar - 7.0.1-0 + 7.0.2-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.1-0 + 7.0.2-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 1b349d2e0d..eab82544a5 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index de2452a929..8055a0506e 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 5b6d4e1797..9e612286d1 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 62c78e04b5..f4318b1818 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 4f002f62bf..0c64cdafde 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index c052839586..0b821a2461 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index a1316e8dba..ebef0259a8 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index c26e9a0160..f6c415c429 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index b6878404ce..32bf4e4018 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 116c80517d..14ad0e748a 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index d888b9183c..bfaf870d85 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index e1ecbfd525..92a185c612 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 4b329465d8..3ef3135690 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index fbd916cfd2..95d9521386 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 06734d7371..a57fdfe401 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 22e820a245..66345088e7 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index fb79167950..46015cb493 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index f267a43ba8..1f4c4878cd 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 9bc1ddf9c9..a5ec2a9016 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index aadb6c5099..2d0b2e184a 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index c9399c0f59..09a8ca44cb 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 4e1a928fc3..7d36ac9a9c 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 44f24afe4d..be1b8b4e09 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 554bc9b19c..6e03c35f17 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 7c3b90fa36..565c83fd2e 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 593e3a8cb7..6b8f981917 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 7a26f89e1d..fe7d7f5810 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From fb862e8c82d4784e5734c9dd9c11d76e4c3344a6 Mon Sep 17 00:00:00 2001 From: Victoria Xia Date: Wed, 29 Dec 2021 08:47:20 -0800 Subject: [PATCH 12/70] chore: add CODEOWNERS file (MINOR) (#414) --- .github/CODEOWNERS | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000000..aab820ed88 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# assign ksql team as reviewers for all PRs: +* @confluentinc/ksql From 6b7e4e6f1a36e1a83cfb75945b825b021c55a0fd Mon Sep 17 00:00:00 2001 From: Almog Gavra Date: Thu, 10 Feb 2022 21:38:46 -0800 Subject: [PATCH 13/70] update examples to use retries of 1 for idempotent producer --- .../interactivequeries/WordCountInteractiveQueriesDriver.java | 2 +- .../examples/streams/microservices/AddInventory.java | 2 +- .../examples/streams/microservices/PostOrdersAndPayments.java | 2 +- .../examples/streams/microservices/util/ProduceCustomers.java | 2 +- .../examples/streams/microservices/util/ProduceOrders.java | 2 +- .../examples/streams/microservices/util/ProducePayments.java | 2 +- .../examples/streams/ApplicationResetIntegrationTest.java | 2 +- .../streams/CustomStreamTableJoinIntegrationTest.java | 4 ++-- .../examples/streams/SpecificAvroIntegrationTest.java | 2 +- .../WordCountInteractiveQueriesExampleTest.java | 2 +- .../streams/microservices/util/MicroserviceTestUtils.java | 2 +- .../examples/streams/GenericAvroScalaIntegrationTest.scala | 2 +- .../examples/streams/SpecificAvroScalaIntegrationTest.scala | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 7d36ac9a9c..4691cbbcd3 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -62,7 +62,7 @@ public static void main(final String [] args) throws Exception { final Properties producerConfig = new Properties(); producerConfig.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers); producerConfig.put(ProducerConfig.ACKS_CONFIG, "all"); - producerConfig.put(ProducerConfig.RETRIES_CONFIG, 0); + producerConfig.put(ProducerConfig.RETRIES_CONFIG, 1); producerConfig.put(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, StringSerializer.class); producerConfig.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, StringSerializer.class); diff --git a/src/main/java/io/confluent/examples/streams/microservices/AddInventory.java b/src/main/java/io/confluent/examples/streams/microservices/AddInventory.java index 6ea9acd08d..7365a424c4 100644 --- a/src/main/java/io/confluent/examples/streams/microservices/AddInventory.java +++ b/src/main/java/io/confluent/examples/streams/microservices/AddInventory.java @@ -33,7 +33,7 @@ private static void sendInventory(final List> invento producerConfig.putAll(defaultConfig); producerConfig.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers); producerConfig.put(ProducerConfig.ACKS_CONFIG, "all"); - producerConfig.put(ProducerConfig.RETRIES_CONFIG, 0); + producerConfig.put(ProducerConfig.RETRIES_CONFIG, 1); producerConfig.put(ProducerConfig.CLIENT_ID_CONFIG, "inventory-generator"); MonitoringInterceptorUtils.maybeConfigureInterceptorsProducer(producerConfig); diff --git a/src/main/java/io/confluent/examples/streams/microservices/PostOrdersAndPayments.java b/src/main/java/io/confluent/examples/streams/microservices/PostOrdersAndPayments.java index 181d82b0bc..06bfe14e3a 100644 --- a/src/main/java/io/confluent/examples/streams/microservices/PostOrdersAndPayments.java +++ b/src/main/java/io/confluent/examples/streams/microservices/PostOrdersAndPayments.java @@ -51,7 +51,7 @@ private static KafkaProducer buildPaymentProducer(final String producerConfig.putAll(defaultConfig); producerConfig.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers); producerConfig.put(ProducerConfig.ACKS_CONFIG, "all"); - producerConfig.put(ProducerConfig.RETRIES_CONFIG, 0); + producerConfig.put(ProducerConfig.RETRIES_CONFIG, 1); producerConfig.put(ProducerConfig.CLIENT_ID_CONFIG, "payment-generator"); MonitoringInterceptorUtils.maybeConfigureInterceptorsProducer(producerConfig); diff --git a/src/main/java/io/confluent/examples/streams/microservices/util/ProduceCustomers.java b/src/main/java/io/confluent/examples/streams/microservices/util/ProduceCustomers.java index 3ebbd617b7..d7419c7693 100644 --- a/src/main/java/io/confluent/examples/streams/microservices/util/ProduceCustomers.java +++ b/src/main/java/io/confluent/examples/streams/microservices/util/ProduceCustomers.java @@ -61,7 +61,7 @@ public static void main(final String[] args) throws Exception { props.putAll(defaultConfig); props.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers); props.put(ProducerConfig.ACKS_CONFIG, "all"); - props.put(ProducerConfig.RETRIES_CONFIG, 0); + props.put(ProducerConfig.RETRIES_CONFIG, 1); MonitoringInterceptorUtils.maybeConfigureInterceptorsProducer(props); try (final KafkaProducer producer = new KafkaProducer<>(props, new LongSerializer(), mySerializer)) { diff --git a/src/main/java/io/confluent/examples/streams/microservices/util/ProduceOrders.java b/src/main/java/io/confluent/examples/streams/microservices/util/ProduceOrders.java index 2c64086433..06726ac33e 100644 --- a/src/main/java/io/confluent/examples/streams/microservices/util/ProduceOrders.java +++ b/src/main/java/io/confluent/examples/streams/microservices/util/ProduceOrders.java @@ -63,7 +63,7 @@ public static void main(final String[] args) throws Exception { props.putAll(defaultConfig); props.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers); props.put(ProducerConfig.ACKS_CONFIG, "all"); - props.put(ProducerConfig.RETRIES_CONFIG, 0); + props.put(ProducerConfig.RETRIES_CONFIG, 1); MonitoringInterceptorUtils.maybeConfigureInterceptorsProducer(props); try (final KafkaProducer producer = new KafkaProducer<>(props, new StringSerializer(), mySerializer)) { diff --git a/src/main/java/io/confluent/examples/streams/microservices/util/ProducePayments.java b/src/main/java/io/confluent/examples/streams/microservices/util/ProducePayments.java index 23a8b89149..8c1d7a6f92 100644 --- a/src/main/java/io/confluent/examples/streams/microservices/util/ProducePayments.java +++ b/src/main/java/io/confluent/examples/streams/microservices/util/ProducePayments.java @@ -61,7 +61,7 @@ public static void main(final String[] args) throws Exception { props.putAll(defaultConfig); props.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers); props.put(ProducerConfig.ACKS_CONFIG, "all"); - props.put(ProducerConfig.RETRIES_CONFIG, 0); + props.put(ProducerConfig.RETRIES_CONFIG, 1); MonitoringInterceptorUtils.maybeConfigureInterceptorsProducer(props); try (final KafkaProducer producer = new KafkaProducer<>(props, new StringSerializer(), mySerializer)) { diff --git a/src/test/java/io/confluent/examples/streams/ApplicationResetIntegrationTest.java b/src/test/java/io/confluent/examples/streams/ApplicationResetIntegrationTest.java index f1198fadb7..56ed770bf7 100644 --- a/src/test/java/io/confluent/examples/streams/ApplicationResetIntegrationTest.java +++ b/src/test/java/io/confluent/examples/streams/ApplicationResetIntegrationTest.java @@ -100,7 +100,7 @@ public void shouldReprocess() throws Exception { final Properties producerConfig = new Properties(); producerConfig.put(ProducerConfig.BOOTSTRAP_SERVERS_CONFIG, CLUSTER.bootstrapServers()); producerConfig.put(ProducerConfig.ACKS_CONFIG, "all"); - producerConfig.put(ProducerConfig.RETRIES_CONFIG, 0); + producerConfig.put(ProducerConfig.RETRIES_CONFIG, 1); producerConfig.put(ProducerConfig.KEY_SERIALIZER_CLASS_CONFIG, ByteArraySerializer.class); producerConfig.put(ProducerConfig.VALUE_SERIALIZER_CLASS_CONFIG, StringSerializer.class); IntegrationTestUtils.produceValuesSynchronously(inputTopic, inputValues, producerConfig); diff --git a/src/test/java/io/confluent/examples/streams/CustomStreamTableJoinIntegrationTest.java b/src/test/java/io/confluent/examples/streams/CustomStreamTableJoinIntegrationTest.java index 0b2b562bd0..8b69e4fe45 100644 --- a/src/test/java/io/confluent/examples/streams/CustomStreamTableJoinIntegrationTest.java +++ b/src/test/java/io/confluent/examples/streams/CustomStreamTableJoinIntegrationTest.java @@ -345,7 +345,7 @@ private void writeInputDataToStream(final List Date: Tue, 29 Mar 2022 12:50:23 -0500 Subject: [PATCH 14/70] add maven wrapper --- .gitignore | 1 + mvnw | 310 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 311 insertions(+) create mode 100755 mvnw diff --git a/.gitignore b/.gitignore index a08a2d9e22..b171b06a11 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ java/.settings/ .vscode/* .eggs *.egg-info/ +.mvn/ diff --git a/mvnw b/mvnw new file mode 100755 index 0000000000..41c0f0c23d --- /dev/null +++ b/mvnw @@ -0,0 +1,310 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Mingw, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +########################################################################################## +# Extension to allow automatically downloading the maven-wrapper.jar from Maven-central +# This allows using the maven wrapper in projects that prohibit checking in binary data. +########################################################################################## +if [ -r "$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found .mvn/wrapper/maven-wrapper.jar" + fi +else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Couldn't find .mvn/wrapper/maven-wrapper.jar, downloading it ..." + fi + if [ -n "$MVNW_REPOURL" ]; then + jarUrl="$MVNW_REPOURL/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + else + jarUrl="https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar" + fi + while IFS="=" read key value; do + case "$key" in (wrapperUrl) jarUrl="$value"; break ;; + esac + done < "$BASE_DIR/.mvn/wrapper/maven-wrapper.properties" + if [ "$MVNW_VERBOSE" = true ]; then + echo "Downloading from: $jarUrl" + fi + wrapperJarPath="$BASE_DIR/.mvn/wrapper/maven-wrapper.jar" + if $cygwin; then + wrapperJarPath=`cygpath --path --windows "$wrapperJarPath"` + fi + + if command -v wget > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found wget ... using wget" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + wget "$jarUrl" -O "$wrapperJarPath" + else + wget --http-user=$MVNW_USERNAME --http-password=$MVNW_PASSWORD "$jarUrl" -O "$wrapperJarPath" + fi + elif command -v curl > /dev/null; then + if [ "$MVNW_VERBOSE" = true ]; then + echo "Found curl ... using curl" + fi + if [ -z "$MVNW_USERNAME" ] || [ -z "$MVNW_PASSWORD" ]; then + curl -o "$wrapperJarPath" "$jarUrl" -f + else + curl --user $MVNW_USERNAME:$MVNW_PASSWORD -o "$wrapperJarPath" "$jarUrl" -f + fi + + else + if [ "$MVNW_VERBOSE" = true ]; then + echo "Falling back to using Java to download" + fi + javaClass="$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.java" + # For Cygwin, switch paths to Windows format before running javac + if $cygwin; then + javaClass=`cygpath --path --windows "$javaClass"` + fi + if [ -e "$javaClass" ]; then + if [ ! -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Compiling MavenWrapperDownloader.java ..." + fi + # Compiling the Java class + ("$JAVA_HOME/bin/javac" "$javaClass") + fi + if [ -e "$BASE_DIR/.mvn/wrapper/MavenWrapperDownloader.class" ]; then + # Running the downloader + if [ "$MVNW_VERBOSE" = true ]; then + echo " - Running MavenWrapperDownloader.java ..." + fi + ("$JAVA_HOME/bin/java" -cp .mvn/wrapper MavenWrapperDownloader "$MAVEN_PROJECTBASEDIR") + fi + fi + fi +fi +########################################################################################## +# End of extension +########################################################################################## + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +if [ "$MVNW_VERBOSE" = true ]; then + echo $MAVEN_PROJECTBASEDIR +fi +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +# Provide a "standardized" way to retrieve the CLI args that will +# work with both Windows and non-Windows executions. +MAVEN_CMD_LINE_ARGS="$MAVEN_CONFIG $@" +export MAVEN_CMD_LINE_ARGS + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" From b0f875e199a5921b4d24d2d4f9c14a1e89d1f2b6 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Thu, 31 Mar 2022 22:45:52 +0000 Subject: [PATCH 15/70] Set Confluent to 7.0.2, Kafka to 7.0.2. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 98799ce910..1674746ff3 100644 --- a/README.md +++ b/README.md @@ -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.2-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.2-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.2-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.2-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 2c391bbca4..8e8b21a852 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.0.x-latest + image: confluentinc/cp-zookeeper:7.0.2 hostname: zookeeper ports: - '32181:32181' @@ -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.2 hostname: kafka ports: - '9092:9092' @@ -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.2 hostname: schema-registry depends_on: - zookeeper @@ -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.2 depends_on: - kafka hostname: kafka-create-topics @@ -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.2 hostname: kafka-music-data-generator depends_on: - kafka @@ -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.2-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.2-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -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.2 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 54c8d0f734..19d7e48bff 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.2-0, 7.0.3-0) + 7.0.2 kafka-streams-examples jar - 7.0.2-0 + 7.0.2 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.2-0 + 7.0.2 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index eab82544a5..afbdcf34e8 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 8055a0506e..8ba50a9775 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 9e612286d1..d43ca30d18 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index f4318b1818..52f19fca6a 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 0c64cdafde..8070710a76 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 0b821a2461..2ae34bf15b 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index ebef0259a8..4736e08ab0 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index f6c415c429..7767faca16 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 32bf4e4018..ad0098a7a4 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 14ad0e748a..f83592c5fe 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.2-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index bfaf870d85..db4488405a 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 92a185c612..18da08004a 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 3ef3135690..db49ad332e 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 95d9521386..d541642945 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index a57fdfe401..01e8348ca0 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 66345088e7..6ce7c6956a 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.2-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 46015cb493..2a03c48bd5 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 1f4c4878cd..7776fad637 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index a5ec2a9016..65e69f6b6e 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 2d0b2e184a..6ac2caeee3 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 09a8ca44cb..431e840a62 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 4691cbbcd3..e8cd251b27 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index be1b8b4e09..72066d0f3c 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 6e03c35f17..d37a95abe4 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 565c83fd2e..fc131a4cce 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 6b8f981917..231e6bea4f 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index fe7d7f5810..146667d3d9 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 07aea47bd733c0afbbe7413b644ec2ae6cdc4126 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Fri, 1 Apr 2022 01:12:26 +0000 Subject: [PATCH 16/70] Bump Confluent to 7.2.0-0, Kafka to 7.2.0-0 --- .../java/io/confluent/examples/streams/microservices/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/confluent/examples/streams/microservices/README.md b/src/main/java/io/confluent/examples/streams/microservices/README.md index 5b31189325..4d74610956 100644 --- a/src/main/java/io/confluent/examples/streams/microservices/README.md +++ b/src/main/java/io/confluent/examples/streams/microservices/README.md @@ -34,7 +34,7 @@ Then run the fully-working demo [end-to-end](https://docs.confluent.io/current/t It runs the ecosystem and all the microservices for you including Kafka Connect, Elasticsearch, KSQL and Control Center. To play with this ecosystem the simplest way is to run the tests and fiddle with the code (stand alone execution is only supported in branch 5.0.0+ so go there if you want stand alone or docker support). Each test boots a self-contained Kafka cluster so it's easy to play with different queries and configurations. -The best place to start is [EndToEndTest.java](https://github.com/confluentinc/kafka-streams-examples/blob/master/src/test/java/io/confluent/examples/streams/microservices/EndToEndTest.java) +The best place to start is [EndToEndTest.java](https://github.com/confluentinc/kafka-streams-examples/blob/7.2.x/src/test/java/io/confluent/examples/streams/microservices/EndToEndTest.java) # Running the Examples: * Requires Java 1.8 From f76637a29e9ed842fe12aacbb9c824e8285828aa Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Fri, 1 Apr 2022 01:12:47 +0000 Subject: [PATCH 17/70] Bump Confluent to 7.3.0-0, Kafka to 7.3.0-0 --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 814acef240..8b4c2dfc44 100644 --- a/README.md +++ b/README.md @@ -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.2.0-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.3.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 @@ -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.2.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.2.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 51999f9a4c..bb9afca610 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.2.x-latest + image: confluentinc/cp-zookeeper:7.3.x-latest hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.2.x-latest + image: confluentinc/cp-enterprise-kafka:7.3.x-latest hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.2.x-latest + image: confluentinc/cp-schema-registry:7.3.x-latest hostname: schema-registry depends_on: - zookeeper @@ -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.2.x-latest + image: confluentinc/cp-kafka:7.3.x-latest depends_on: - kafka hostname: kafka-create-topics @@ -78,7 +78,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.2.x-latest + image: confluentinc/kafka-streams-examples:7.3.x-latest hostname: kafka-music-data-generator depends_on: - kafka @@ -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.2.0-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.3.0-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -103,7 +103,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.2.x-latest + image: confluentinc/kafka-streams-examples:7.3.x-latest hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 15c7559d5d..ff7cb649ce 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.2.0-0, 7.2.1-0) + [7.3.0-0, 7.3.1-0) kafka-streams-examples jar - 7.2.0-0 + 7.3.0-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.2.0-0 + 7.3.0-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index f413b9f24a..514f6a8318 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 676a33d317..4765d4356d 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 1e503f46e1..bfc1aee7cd 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 5164542472..2a0dbd6582 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index f018773ac0..42c4953e4a 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 593ed6dbb8..a327187871 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index afbf2046b6..f3c546f267 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 01017fb116..6edb3c72ea 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 365a73d85d..84c407398d 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index ae77ed32f8..0100b8700c 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.2.0-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index fc5c6dcd21..e5a5c52993 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index a12d0a9cd9..894aa44d85 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index ba1173ced6..542b187c17 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index bcf27683f4..bc69496adc 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 259cbe0a16..dab595c205 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index df27b34d8a..1bc0e9442c 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 9278bad51e..4b4f9c36fd 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 2313484929..057154fe29 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 024f829981..021e017001 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 7b620cbb94..f6118b961a 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 55a15a2402..47b25109ad 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 60db05da31..2e04061263 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index a6cade4321..c1c6a39859 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 7482a0c7bd..62b508906d 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index b1959a665a..4055fb8614 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 8c94256a54..d66875c20c 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 62d74c7aad..22a995c910 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 1d9c55cb6cd68922cd74e68ff2d7a8e03bed6e7e Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Fri, 1 Apr 2022 06:36:25 +0000 Subject: [PATCH 18/70] Set Confluent to 7.1.0, Kafka to 7.1.0. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 86d71cdeb0..62644d613d 100644 --- a/README.md +++ b/README.md @@ -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.1.0-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.1.0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index df1bec5e0c..edf50a0ad6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.1.x-latest + image: confluentinc/cp-zookeeper:7.1.0 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.1.x-latest + image: confluentinc/cp-enterprise-kafka:7.1.0 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.1.x-latest + image: confluentinc/cp-schema-registry:7.1.0 hostname: schema-registry depends_on: - zookeeper @@ -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.1.x-latest + image: confluentinc/cp-kafka:7.1.0 depends_on: - kafka hostname: kafka-create-topics @@ -78,7 +78,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.1.x-latest + image: confluentinc/kafka-streams-examples:7.1.0 hostname: kafka-music-data-generator depends_on: - kafka @@ -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.1.0-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.1.0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -103,7 +103,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.1.x-latest + image: confluentinc/kafka-streams-examples:7.1.0 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 089fb8baf1..cbcc754478 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.1.0-0, 7.1.1-0) + 7.1.0 kafka-streams-examples jar - 7.1.0-0 + 7.1.0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.0-0 + 7.1.0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index f9c4ffea64..b3e534ea13 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 5b6c9a5427..7cb4041d0b 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 14e8310143..26e1d496ee 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 1da13e8401..bb02b4a295 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 5eff2b9262..b5bf971011 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 39d81a5dc3..9aefa53c02 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 4d2814d4f3..ea96323962 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index b884a85589..d9b2cdfff6 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 95897dd283..d33e93d0f8 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 9d76535041..bd68a2e17b 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.0-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index dc73423aa5..934bff6518 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 91f424037e..f5abc8935c 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 9e65df7c49..c9dd3e08e4 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 229101d776..913f7da6bc 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 1d2494c116..0de9cd3f34 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index fbd6199e03..f43724d9d3 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index ce130977c6..e4cd699738 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 169a18f2b7..c9a63a35ea 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 930c0d732d..72fc531898 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index c99e72cb46..73a1c912d3 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 6a10015489..1b49007856 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 06c1ba9dcb..1afc600d63 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index e995e8f19f..08bb415f3b 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 3888bae108..8300d6a2fc 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 7633a4dcca..853b3686af 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 6227a9c2ed..aca5ba7002 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 2978eb451f..a8bd1c91b0 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 02b81ff5e15bbbc2a29fec15a70bf27f30241b25 Mon Sep 17 00:00:00 2001 From: Grace Chen Date: Fri, 1 Apr 2022 01:00:10 -0700 Subject: [PATCH 19/70] Enable arm64 builds for CP 7.0+ --- Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Jenkinsfile b/Jenkinsfile index 1cc643814a..7b9bbdae11 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,4 +11,5 @@ dockerfile { osTypes = ['ubi8'] slackChannel = 'ksqldb-warn' nanoVersion = true + buildArm = true } From 0dbe6bd118d8a3a15b0fd3e7db0a621f17da0a6b Mon Sep 17 00:00:00 2001 From: John Roesler Date: Tue, 29 Mar 2022 17:04:42 -0500 Subject: [PATCH 20/70] add config for maven wrapper --- .gitignore | 1 - .mvn/wrapper/MavenWrapperDownloader.java | 117 +++++++++++++++++++++++ .mvn/wrapper/maven-wrapper.properties | 4 + 3 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 .mvn/wrapper/MavenWrapperDownloader.java create mode 100644 .mvn/wrapper/maven-wrapper.properties diff --git a/.gitignore b/.gitignore index b171b06a11..a08a2d9e22 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,3 @@ java/.settings/ .vscode/* .eggs *.egg-info/ -.mvn/ diff --git a/.mvn/wrapper/MavenWrapperDownloader.java b/.mvn/wrapper/MavenWrapperDownloader.java new file mode 100644 index 0000000000..b901097f2d --- /dev/null +++ b/.mvn/wrapper/MavenWrapperDownloader.java @@ -0,0 +1,117 @@ +/* + * Copyright 2007-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import java.net.*; +import java.io.*; +import java.nio.channels.*; +import java.util.Properties; + +public class MavenWrapperDownloader { + + private static final String WRAPPER_VERSION = "0.5.6"; + /** + * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. + */ + private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/" + + WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar"; + + /** + * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to + * use instead of the default one. + */ + private static final String MAVEN_WRAPPER_PROPERTIES_PATH = + ".mvn/wrapper/maven-wrapper.properties"; + + /** + * Path where the maven-wrapper.jar will be saved to. + */ + private static final String MAVEN_WRAPPER_JAR_PATH = + ".mvn/wrapper/maven-wrapper.jar"; + + /** + * Name of the property which should be used to override the default download url for the wrapper. + */ + private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl"; + + public static void main(String args[]) { + System.out.println("- Downloader started"); + File baseDirectory = new File(args[0]); + System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath()); + + // If the maven-wrapper.properties exists, read it and check if it contains a custom + // wrapperUrl parameter. + File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH); + String url = DEFAULT_DOWNLOAD_URL; + if(mavenWrapperPropertyFile.exists()) { + FileInputStream mavenWrapperPropertyFileInputStream = null; + try { + mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile); + Properties mavenWrapperProperties = new Properties(); + mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream); + url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url); + } catch (IOException e) { + System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'"); + } finally { + try { + if(mavenWrapperPropertyFileInputStream != null) { + mavenWrapperPropertyFileInputStream.close(); + } + } catch (IOException e) { + // Ignore ... + } + } + } + System.out.println("- Downloading from: " + url); + + File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); + if(!outputFile.getParentFile().exists()) { + if(!outputFile.getParentFile().mkdirs()) { + System.out.println( + "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'"); + } + } + System.out.println("- Downloading to: " + outputFile.getAbsolutePath()); + try { + downloadFileFromURL(url, outputFile); + System.out.println("Done"); + System.exit(0); + } catch (Throwable e) { + System.out.println("- Error downloading"); + e.printStackTrace(); + System.exit(1); + } + } + + private static void downloadFileFromURL(String urlString, File destination) throws Exception { + if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) { + String username = System.getenv("MVNW_USERNAME"); + char[] password = System.getenv("MVNW_PASSWORD").toCharArray(); + Authenticator.setDefault(new Authenticator() { + @Override + protected PasswordAuthentication getPasswordAuthentication() { + return new PasswordAuthentication(username, password); + } + }); + } + URL website = new URL(urlString); + ReadableByteChannel rbc; + rbc = Channels.newChannel(website.openStream()); + FileOutputStream fos = new FileOutputStream(destination); + fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); + fos.close(); + rbc.close(); + } + +} diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties new file mode 100644 index 0000000000..3fa2c2fe33 --- /dev/null +++ b/.mvn/wrapper/maven-wrapper.properties @@ -0,0 +1,4 @@ +# custmized maven that help avoid download only highest poms from version range +# https://issues.apache.org/jira/browse/MRESOLVER-164 +distributionUrl=https://confluent-packaging-tools.s3-us-west-2.amazonaws.com/apache-maven-3.6.3.1-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar From 5dda37afe57b9de0ae9a9a99e4b8c3ea002aafcf Mon Sep 17 00:00:00 2001 From: John Roesler Date: Tue, 29 Mar 2022 17:05:23 -0500 Subject: [PATCH 21/70] update wrapped maven --- .mvn/wrapper/maven-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 3fa2c2fe33..a9a4b38f68 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,4 +1,4 @@ # custmized maven that help avoid download only highest poms from version range # https://issues.apache.org/jira/browse/MRESOLVER-164 -distributionUrl=https://confluent-packaging-tools.s3-us-west-2.amazonaws.com/apache-maven-3.6.3.1-bin.zip +distributionUrl=https://confluent-packaging-tools.s3-us-west-2.amazonaws.com/apache-maven-3.8.1.2-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar From 7d0894fcb9efb153f02bee0096b9422dd72da199 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 6 Apr 2022 22:29:23 +0000 Subject: [PATCH 22/70] Bump Confluent to 7.1.1-0, Kafka to 7.1.1-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 86d71cdeb0..e359d82dc0 100644 --- a/README.md +++ b/README.md @@ -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.1.0-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.1.1-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index df1bec5e0c..fc0140dbf4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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.1.0-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.1.1-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 089fb8baf1..06b09ec1a7 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.1.0-0, 7.1.1-0) + [7.1.1-0, 7.1.2-0) kafka-streams-examples jar - 7.1.0-0 + 7.1.1-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.0-0 + 7.1.1-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index f9c4ffea64..6acd62ceec 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 5b6c9a5427..46dbd6f811 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 14e8310143..50cd7eec8c 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 1da13e8401..1d43c5632f 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 5eff2b9262..fd9b644d1d 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 39d81a5dc3..18fe600a74 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 4d2814d4f3..9846b44a25 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index b884a85589..da96107940 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 95897dd283..f3eb53ef8d 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 9d76535041..764a0695c1 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.0-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index dc73423aa5..7d0639c369 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 91f424037e..4d867231fd 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 9e65df7c49..898d4416cd 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 229101d776..46a4ed49d3 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 1d2494c116..e71fb97dbe 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index fbd6199e03..12464b9a04 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index ce130977c6..51530a6691 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 169a18f2b7..fd052e5ff2 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 930c0d732d..bdbaa886e9 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index c99e72cb46..d7af6c046a 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 6a10015489..d6989d4c1c 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 06c1ba9dcb..128b2ad24c 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index e995e8f19f..cffb5de5c9 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 3888bae108..822e21bbb9 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 7633a4dcca..06876f6dcf 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 6227a9c2ed..95f6d65e7f 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 2978eb451f..17261d260c 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From acc3cde81ec16327bd35286947035478a8fca256 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Mon, 11 Apr 2022 00:56:28 +0000 Subject: [PATCH 23/70] Bump Confluent to 7.0.3-0, Kafka to 7.0.3-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 98799ce910..4aea53fd84 100644 --- a/README.md +++ b/README.md @@ -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.2-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.3-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.2-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.2-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 2c391bbca4..e09bf08e1b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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.2-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.3-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 54c8d0f734..aaf1c23de6 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.2-0, 7.0.3-0) + [7.0.3-0, 7.0.4-0) kafka-streams-examples jar - 7.0.2-0 + 7.0.3-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.2-0 + 7.0.3-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index eab82544a5..7421ccf7de 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 8055a0506e..d3493dd765 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 9e612286d1..9d03741988 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index f4318b1818..d44dc9986e 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 0c64cdafde..170f26ea11 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 0b821a2461..9b34c40fb7 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index ebef0259a8..9e68c7ddaf 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index f6c415c429..5be80a19b2 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 32bf4e4018..fced0cfc5b 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 14ad0e748a..80c9dfceb7 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.2-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index bfaf870d85..0e5c8a23db 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 92a185c612..bd70137f67 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 3ef3135690..01ecf89d20 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 95d9521386..9742227a6f 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index a57fdfe401..b66204dbb0 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 66345088e7..d14a55f27a 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.2-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 46015cb493..8d1e359c2e 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 1f4c4878cd..a9ea5f6446 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index a5ec2a9016..627a7bcf10 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 2d0b2e184a..81dfd0a36d 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 09a8ca44cb..6d09473121 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 4691cbbcd3..e8184f6a63 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index be1b8b4e09..aa12def7b5 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 6e03c35f17..64ad665206 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 565c83fd2e..290e9a1d27 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 6b8f981917..cbe4753431 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index fe7d7f5810..37ae066e46 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 79ae397fa9ebf8d8a8a533d5854824d9f400d323 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Fri, 15 Apr 2022 02:26:29 +0000 Subject: [PATCH 24/70] Set Confluent to 7.0.3, Kafka to 7.0.3. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/microservices/README.md | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 31 files changed, 53 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index 1674746ff3..475a879d81 100644 --- a/README.md +++ b/README.md @@ -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.2-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.3-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.2-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.3-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.2-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.3-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 8e8b21a852..364df22ef3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.0.2 + image: confluentinc/cp-zookeeper:7.0.3 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.0.2 + image: confluentinc/cp-enterprise-kafka:7.0.3 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.0.2 + image: confluentinc/cp-schema-registry:7.0.3 hostname: schema-registry depends_on: - zookeeper @@ -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.2 + image: confluentinc/cp-kafka:7.0.3 depends_on: - kafka hostname: kafka-create-topics @@ -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.2 + image: confluentinc/kafka-streams-examples:7.0.3 hostname: kafka-music-data-generator depends_on: - kafka @@ -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.2-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.3-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -103,7 +103,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.0.2 + image: confluentinc/kafka-streams-examples:7.0.3 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 19d7e48bff..0cd6b53e78 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - 7.0.2 + 7.0.3 kafka-streams-examples jar - 7.0.2 + 7.0.3 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.2 + 7.0.3 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index afbdcf34e8..42de671310 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 8ba50a9775..98b14878e8 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index d43ca30d18..bba506ea7e 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.2-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 52f19fca6a..4bf4e5cb3a 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.2-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 8070710a76..c05087a0bd 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 2ae34bf15b..3a341765a3 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 4736e08ab0..6251065a8a 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.2-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 7767faca16..af62b8ffb9 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index ad0098a7a4..1d854890d3 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.2-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index f83592c5fe..f0767a56c0 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.2-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.3-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index db4488405a..8af78635c9 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.2-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 18da08004a..792352a696 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index db49ad332e..fce43cbc2c 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.2-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index d541642945..5c56026b63 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 01e8348ca0..cf7284b664 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 6ce7c6956a..6dc84dab36 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.2-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 2a03c48bd5..73d4f4d555 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 7776fad637..c0fca56e7f 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 65e69f6b6e..a6c136f632 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 6ac2caeee3..219cb30bcd 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 431e840a62..6f0e5aea68 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index e8cd251b27..bb40429ce9 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 72066d0f3c..e925e311f0 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index d37a95abe4..38558f3fb8 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index fc131a4cce..3db1fbc159 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/microservices/README.md b/src/main/java/io/confluent/examples/streams/microservices/README.md index ae6d680e48..449b888fac 100644 --- a/src/main/java/io/confluent/examples/streams/microservices/README.md +++ b/src/main/java/io/confluent/examples/streams/microservices/README.md @@ -34,7 +34,7 @@ Then run the fully-working demo [end-to-end](https://docs.confluent.io/current/t It runs the ecosystem and all the microservices for you including Kafka Connect, Elasticsearch, KSQL and Control Center. To play with this ecosystem the simplest way is to run the tests and fiddle with the code (stand alone execution is only supported in branch 5.0.0+ so go there if you want stand alone or docker support). Each test boots a self-contained Kafka cluster so it's easy to play with different queries and configurations. -The best place to start is [EndToEndTest.java](https://github.com/confluentinc/kafka-streams-examples/blob/7.0.x/src/test/java/io/confluent/examples/streams/microservices/EndToEndTest.java) +The best place to start is [EndToEndTest.java](https://github.com/confluentinc/kafka-streams-examples/blob/7.0.2-post/src/test/java/io/confluent/examples/streams/microservices/EndToEndTest.java) # Running the Examples: * Requires Java 1.8 diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 231e6bea4f..a28ad290d8 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 146667d3d9..1a137d2213 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.2-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.3-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From f4ac283c9adeab3419b73ce326397aab6776e631 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Fri, 15 Apr 2022 03:14:30 +0000 Subject: [PATCH 25/70] Set Confluent to 7.1.1, Kafka to 7.1.1. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/microservices/README.md | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 31 files changed, 53 insertions(+), 53 deletions(-) diff --git a/README.md b/README.md index 62644d613d..f3fa61834b 100644 --- a/README.md +++ b/README.md @@ -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.1.0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.1.1-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1.0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.1-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.1-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index edf50a0ad6..39cc87c8ec 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.1.0 + image: confluentinc/cp-zookeeper:7.1.1 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.1.0 + image: confluentinc/cp-enterprise-kafka:7.1.1 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.1.0 + image: confluentinc/cp-schema-registry:7.1.1 hostname: schema-registry depends_on: - zookeeper @@ -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.1.0 + image: confluentinc/cp-kafka:7.1.1 depends_on: - kafka hostname: kafka-create-topics @@ -78,7 +78,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.1.0 + image: confluentinc/kafka-streams-examples:7.1.1 hostname: kafka-music-data-generator depends_on: - kafka @@ -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.1.0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.1.1-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -103,7 +103,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.1.0 + image: confluentinc/kafka-streams-examples:7.1.1 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index cbcc754478..ea8fed64a7 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - 7.1.0 + 7.1.1 kafka-streams-examples jar - 7.1.0 + 7.1.1 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.0 + 7.1.1 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index b3e534ea13..e3e67047f9 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 7cb4041d0b..2105741f30 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 26e1d496ee..eb2f487995 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index bb02b4a295..43166fe4be 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index b5bf971011..2c3e72cd1a 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 9aefa53c02..5a464f55ee 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index ea96323962..a34c236202 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index d9b2cdfff6..9bef351e90 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index d33e93d0f8..5524502441 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index bd68a2e17b..4423a868ff 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.1.1-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 934bff6518..f30b492eb6 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index f5abc8935c..e849e5b4a4 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index c9dd3e08e4..51b7d607bd 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 913f7da6bc..6229d6b7df 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 0de9cd3f34..322847a07e 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index f43724d9d3..6a34c5bf40 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index e4cd699738..59826abe8f 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index c9a63a35ea..d800635408 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 72fc531898..bc7020c7a3 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 73a1c912d3..f517afc489 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 1b49007856..925e696dc6 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 1afc600d63..dbf5d36d75 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 08bb415f3b..778605ad11 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 8300d6a2fc..27986c6b88 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 853b3686af..ac303b1be3 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/microservices/README.md b/src/main/java/io/confluent/examples/streams/microservices/README.md index 5e5ba73195..1127b64ac0 100644 --- a/src/main/java/io/confluent/examples/streams/microservices/README.md +++ b/src/main/java/io/confluent/examples/streams/microservices/README.md @@ -34,7 +34,7 @@ Then run the fully-working demo [end-to-end](https://docs.confluent.io/current/t It runs the ecosystem and all the microservices for you including Kafka Connect, Elasticsearch, KSQL and Control Center. To play with this ecosystem the simplest way is to run the tests and fiddle with the code (stand alone execution is only supported in branch 5.0.0+ so go there if you want stand alone or docker support). Each test boots a self-contained Kafka cluster so it's easy to play with different queries and configurations. -The best place to start is [EndToEndTest.java](https://github.com/confluentinc/kafka-streams-examples/blob/7.1.x/src/test/java/io/confluent/examples/streams/microservices/EndToEndTest.java) +The best place to start is [EndToEndTest.java](https://github.com/confluentinc/kafka-streams-examples/blob/7.1.0-post/src/test/java/io/confluent/examples/streams/microservices/EndToEndTest.java) # Running the Examples: * Requires Java 1.8 diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index aca5ba7002..e21fd8c939 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index a8bd1c91b0..33cbca845a 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 372c2952a5bdb3f9f1c1b90ef9f7c1ffa82f7893 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 20 Apr 2022 20:30:36 +0000 Subject: [PATCH 26/70] Bump Confluent to 7.0.4-0, Kafka to 7.0.4-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 4aea53fd84..42435f8e90 100644 --- a/README.md +++ b/README.md @@ -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.3-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.4-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.3-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.3-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index e09bf08e1b..fcd9083b42 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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.3-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.4-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index aaf1c23de6..2316251282 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.3-0, 7.0.4-0) + [7.0.4-0, 7.0.5-0) kafka-streams-examples jar - 7.0.3-0 + 7.0.4-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.3-0 + 7.0.4-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 7421ccf7de..15ef732c5d 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index d3493dd765..42e4a98126 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 9d03741988..46e2889ef0 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index d44dc9986e..8326a4d66d 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 170f26ea11..13893d37f8 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 9b34c40fb7..5a4efe3364 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 9e68c7ddaf..a9c164feec 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 5be80a19b2..a480c15740 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index fced0cfc5b..e49cb6d4f2 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 80c9dfceb7..36e02b29fc 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.3-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 0e5c8a23db..6a041a5098 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index bd70137f67..0c52195233 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 01ecf89d20..c76b68b021 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 9742227a6f..466d0090cc 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index b66204dbb0..06ac26cb4b 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index d14a55f27a..9b5d08b91c 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.3-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 8d1e359c2e..8f490a5c04 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index a9ea5f6446..a72d442b45 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 627a7bcf10..6789016330 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 81dfd0a36d..46952ee35d 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 6d09473121..f83a413bcd 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index e8184f6a63..33a1720e50 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index aa12def7b5..f1c7be2c2b 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 64ad665206..a74eb61a46 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 290e9a1d27..d473572d00 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index cbe4753431..19963bb2f6 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 37ae066e46..bf56c1913d 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From e402322f5e1ffe1939f1d5bc81dc74ffe72e33d2 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 20 Apr 2022 21:39:06 +0000 Subject: [PATCH 27/70] Bump Confluent to 7.1.2-0, Kafka to 7.1.2-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index e359d82dc0..cbc040feac 100644 --- a/README.md +++ b/README.md @@ -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.1.1-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.1.2-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index fc0140dbf4..324dea4b7c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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.1.1-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.1.2-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 06b09ec1a7..534ad9cc36 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.1.1-0, 7.1.2-0) + [7.1.2-0, 7.1.3-0) kafka-streams-examples jar - 7.1.1-0 + 7.1.2-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.1-0 + 7.1.2-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 6acd62ceec..1831ab7508 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 46dbd6f811..e6a1106292 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 50cd7eec8c..68690f7f67 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 1d43c5632f..ddeb69cea9 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index fd9b644d1d..e91d396604 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 18fe600a74..6ca74ca6e1 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 9846b44a25..fd1d2ce22d 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index da96107940..321bd80ced 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index f3eb53ef8d..331cab618c 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 764a0695c1..ff93ba3a1e 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.1-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 7d0639c369..2e0ff4ed5e 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 4d867231fd..a9ae560c21 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 898d4416cd..28ed2e430a 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 46a4ed49d3..64b268de1d 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index e71fb97dbe..8e8893d773 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 12464b9a04..d18c80f21a 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.1-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 51530a6691..14fb39ffdb 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index fd052e5ff2..34c1646b51 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index bdbaa886e9..2677e56bc5 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index d7af6c046a..ea8ec9fb8e 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index d6989d4c1c..d9bd5f1ce0 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 128b2ad24c..e173b9d33b 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index cffb5de5c9..cb7bc9e15a 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 822e21bbb9..cac4ab5184 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 06876f6dcf..9cb2a1cb23 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 95f6d65e7f..f33abb3ceb 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 17261d260c..168af4d36d 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From e5facfb8444606551c03b2c61af34a4179f8c380 Mon Sep 17 00:00:00 2001 From: John Roesler Date: Tue, 29 Mar 2022 17:04:42 -0500 Subject: [PATCH 28/70] add config for maven wrapper --- .gitignore | 1 - .mvn/wrapper/MavenWrapperDownloader.java | 117 +++++++++++++++++++++++ .mvn/wrapper/maven-wrapper.properties | 4 + 3 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 .mvn/wrapper/MavenWrapperDownloader.java create mode 100644 .mvn/wrapper/maven-wrapper.properties diff --git a/.gitignore b/.gitignore index b171b06a11..a08a2d9e22 100644 --- a/.gitignore +++ b/.gitignore @@ -23,4 +23,3 @@ java/.settings/ .vscode/* .eggs *.egg-info/ -.mvn/ diff --git a/.mvn/wrapper/MavenWrapperDownloader.java b/.mvn/wrapper/MavenWrapperDownloader.java new file mode 100644 index 0000000000..b901097f2d --- /dev/null +++ b/.mvn/wrapper/MavenWrapperDownloader.java @@ -0,0 +1,117 @@ +/* + * Copyright 2007-present the original author or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +import java.net.*; +import java.io.*; +import java.nio.channels.*; +import java.util.Properties; + +public class MavenWrapperDownloader { + + private static final String WRAPPER_VERSION = "0.5.6"; + /** + * Default URL to download the maven-wrapper.jar from, if no 'downloadUrl' is provided. + */ + private static final String DEFAULT_DOWNLOAD_URL = "https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/" + + WRAPPER_VERSION + "/maven-wrapper-" + WRAPPER_VERSION + ".jar"; + + /** + * Path to the maven-wrapper.properties file, which might contain a downloadUrl property to + * use instead of the default one. + */ + private static final String MAVEN_WRAPPER_PROPERTIES_PATH = + ".mvn/wrapper/maven-wrapper.properties"; + + /** + * Path where the maven-wrapper.jar will be saved to. + */ + private static final String MAVEN_WRAPPER_JAR_PATH = + ".mvn/wrapper/maven-wrapper.jar"; + + /** + * Name of the property which should be used to override the default download url for the wrapper. + */ + private static final String PROPERTY_NAME_WRAPPER_URL = "wrapperUrl"; + + public static void main(String args[]) { + System.out.println("- Downloader started"); + File baseDirectory = new File(args[0]); + System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath()); + + // If the maven-wrapper.properties exists, read it and check if it contains a custom + // wrapperUrl parameter. + File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH); + String url = DEFAULT_DOWNLOAD_URL; + if(mavenWrapperPropertyFile.exists()) { + FileInputStream mavenWrapperPropertyFileInputStream = null; + try { + mavenWrapperPropertyFileInputStream = new FileInputStream(mavenWrapperPropertyFile); + Properties mavenWrapperProperties = new Properties(); + mavenWrapperProperties.load(mavenWrapperPropertyFileInputStream); + url = mavenWrapperProperties.getProperty(PROPERTY_NAME_WRAPPER_URL, url); + } catch (IOException e) { + System.out.println("- ERROR loading '" + MAVEN_WRAPPER_PROPERTIES_PATH + "'"); + } finally { + try { + if(mavenWrapperPropertyFileInputStream != null) { + mavenWrapperPropertyFileInputStream.close(); + } + } catch (IOException e) { + // Ignore ... + } + } + } + System.out.println("- Downloading from: " + url); + + File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); + if(!outputFile.getParentFile().exists()) { + if(!outputFile.getParentFile().mkdirs()) { + System.out.println( + "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'"); + } + } + System.out.println("- Downloading to: " + outputFile.getAbsolutePath()); + try { + downloadFileFromURL(url, outputFile); + System.out.println("Done"); + System.exit(0); + } catch (Throwable e) { + System.out.println("- Error downloading"); + e.printStackTrace(); + System.exit(1); + } + } + + private static void downloadFileFromURL(String urlString, File destination) throws Exception { + if (System.getenv("MVNW_USERNAME") != null && System.getenv("MVNW_PASSWORD") != null) { + String username = System.getenv("MVNW_USERNAME"); + char[] password = System.getenv("MVNW_PASSWORD").toCharArray(); + Authenticator.setDefault(new Authenticator() { + @Override + protected PasswordAuthentication getPasswordAuthentication() { + return new PasswordAuthentication(username, password); + } + }); + } + URL website = new URL(urlString); + ReadableByteChannel rbc; + rbc = Channels.newChannel(website.openStream()); + FileOutputStream fos = new FileOutputStream(destination); + fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); + fos.close(); + rbc.close(); + } + +} diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties new file mode 100644 index 0000000000..3fa2c2fe33 --- /dev/null +++ b/.mvn/wrapper/maven-wrapper.properties @@ -0,0 +1,4 @@ +# custmized maven that help avoid download only highest poms from version range +# https://issues.apache.org/jira/browse/MRESOLVER-164 +distributionUrl=https://confluent-packaging-tools.s3-us-west-2.amazonaws.com/apache-maven-3.6.3.1-bin.zip +wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar From 8cc098288ee5390e31cfae92fb577746a6933556 Mon Sep 17 00:00:00 2001 From: John Roesler Date: Tue, 29 Mar 2022 17:05:23 -0500 Subject: [PATCH 29/70] update wrapped maven --- .mvn/wrapper/maven-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 3fa2c2fe33..a9a4b38f68 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,4 +1,4 @@ # custmized maven that help avoid download only highest poms from version range # https://issues.apache.org/jira/browse/MRESOLVER-164 -distributionUrl=https://confluent-packaging-tools.s3-us-west-2.amazonaws.com/apache-maven-3.6.3.1-bin.zip +distributionUrl=https://confluent-packaging-tools.s3-us-west-2.amazonaws.com/apache-maven-3.8.1.2-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar From 23257bd8134784296b814b4cd6a5b8beaadec743 Mon Sep 17 00:00:00 2001 From: Vincent Rose Date: Thu, 19 May 2022 13:32:23 -0700 Subject: [PATCH 30/70] DP-7790 Migrate from confluent-log4j to reload4j (#425) --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 15c7559d5d..b6e76a18e4 100644 --- a/pom.xml +++ b/pom.xml @@ -131,12 +131,12 @@ org.slf4j - slf4j-log4j12 + slf4j-reload4j io.confluent - confluent-log4j + logredactor javax.ws.rs From d145e95c1e5d8897ec8b2d8ea3cb1a66464995c1 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Sat, 18 Jun 2022 07:53:37 +0000 Subject: [PATCH 31/70] Set Confluent to 7.0.4, Kafka to 7.0.4. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 42435f8e90..43b5da84fb 100644 --- a/README.md +++ b/README.md @@ -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.4-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.4-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.4-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.4-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.4-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.4-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index fcd9083b42..804fe9a9d3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.0.x-latest + image: confluentinc/cp-zookeeper:7.0.4 hostname: zookeeper ports: - '32181:32181' @@ -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.4 hostname: kafka ports: - '9092:9092' @@ -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.4 hostname: schema-registry depends_on: - zookeeper @@ -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.4 depends_on: - kafka hostname: kafka-create-topics @@ -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.4 hostname: kafka-music-data-generator depends_on: - kafka @@ -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.4-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.4-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -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.4 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 2316251282..b28eed89cf 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.4-0, 7.0.5-0) + 7.0.4 kafka-streams-examples jar - 7.0.4-0 + 7.0.4 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.4-0 + 7.0.4 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 15ef732c5d..89d6642d9b 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 42e4a98126..061ad7451a 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 46e2889ef0..9752b0ea5b 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 8326a4d66d..52c1c136ad 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 13893d37f8..42819fe553 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 5a4efe3364..142a37789d 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index a9c164feec..245ab1e4bf 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index a480c15740..b5cf80c2aa 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index e49cb6d4f2..08bc5f627e 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 36e02b29fc..7df366bb85 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.4-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.4-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 6a041a5098..bfb56e0fa7 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 0c52195233..8aeb206b13 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index c76b68b021..aec7f7df06 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 466d0090cc..6f37a1e241 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 06ac26cb4b..f6b2ced0b2 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 9b5d08b91c..648bd57723 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.4-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 8f490a5c04..5e59ae0188 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index a72d442b45..7035181000 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 6789016330..6dd817fbdc 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 46952ee35d..8c9e658206 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index f83a413bcd..89c439d499 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 33a1720e50..50d97ffac5 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index f1c7be2c2b..94fcd74e32 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index a74eb61a46..be7b82bacb 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index d473572d00..d657f4901a 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 19963bb2f6..8dad503bc1 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index bf56c1913d..a0731924f6 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From b19f4e44f12d45e17b0365aa24a795ba8b9b5149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Dias=20Almeida?= Date: Tue, 21 Jun 2022 18:25:50 +0200 Subject: [PATCH 32/70] Fixed docker compose init commands/parameters to start all containers correctly (#426) --- docker-compose.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 39cc87c8ec..6713f85d90 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -47,6 +47,8 @@ services: - '8081:8081' environment: SCHEMA_REGISTRY_HOST_NAME: schema-registry + SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: 'kafka:29092' + SCHEMA_REGISTRY_LISTENERS: "http://0.0.0.0:8081" SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: zookeeper:32181 extra_hosts: - "moby:127.0.0.1" @@ -65,8 +67,9 @@ services: # See https://docs.docker.com/compose/startup-order/ command: "bash -c 'echo Waiting for Kafka to be ready... && \ cub kafka-ready -b kafka:29092 1 20 && \ - kafka-topics --create --topic play-events --if-not-exists --zookeeper zookeeper:32181 --partitions 4 --replication-factor 1 && \ - kafka-topics --create --topic song-feed --if-not-exists --zookeeper zookeeper:32181 --partitions 4 --replication-factor 1 && \ + kafka-topics --create --topic play-events --if-not-exists --bootstrap-server kafka:29092 --partitions 4 --replication-factor 1 && \ + kafka-topics --create --topic play-events-per-session --if-not-exists --bootstrap-server kafka:29092 --partitions 4 --replication-factor 1 && \ + kafka-topics --create --topic song-feed --if-not-exists --bootstrap-server kafka:29092 --partitions 4 --replication-factor 1 && \ sleep infinity'" environment: # The following settings are listed here only to satisfy the image's requirements. From 7838ecdc850252213b8696dc95839316c59a324d Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Thu, 23 Jun 2022 23:03:52 +0000 Subject: [PATCH 33/70] Set Confluent to 7.1.2, Kafka to 7.1.2. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index cbc040feac..c81402306e 100644 --- a/README.md +++ b/README.md @@ -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.1.2-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.1.2-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1.2-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.2-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.2-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.2-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index f6d5201dbf..0e11475052 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.1.x-latest + image: confluentinc/cp-zookeeper:7.1.2 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.1.x-latest + image: confluentinc/cp-enterprise-kafka:7.1.2 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.1.x-latest + image: confluentinc/cp-schema-registry:7.1.2 hostname: schema-registry depends_on: - zookeeper @@ -56,7 +56,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.1.x-latest + image: confluentinc/cp-kafka:7.1.2 depends_on: - kafka hostname: kafka-create-topics @@ -81,7 +81,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.1.x-latest + image: confluentinc/kafka-streams-examples:7.1.2 hostname: kafka-music-data-generator depends_on: - kafka @@ -92,7 +92,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.1.2-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.1.2-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -106,7 +106,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.1.x-latest + image: confluentinc/kafka-streams-examples:7.1.2 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 534ad9cc36..2dec44d77e 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.1.2-0, 7.1.3-0) + 7.1.2 kafka-streams-examples jar - 7.1.2-0 + 7.1.2 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.2-0 + 7.1.2 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 1831ab7508..49883b2fdd 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index e6a1106292..a79c3ffd45 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 68690f7f67..ee1188e9bf 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index ddeb69cea9..7938a93c65 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index e91d396604..cf3e3ad982 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 6ca74ca6e1..0ca62e6a14 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index fd1d2ce22d..0a4af67ed5 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 321bd80ced..2ccce31bd1 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 331cab618c..5db3a4fe55 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index ff93ba3a1e..5d544d7711 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.2-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.1.2-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 2e0ff4ed5e..b4c6ebd6a2 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index a9ae560c21..fde4f24790 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 28ed2e430a..69561d883e 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 64b268de1d..8f5666da32 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 8e8893d773..955d549be0 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index d18c80f21a..b7d70e3090 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 14fb39ffdb..be2ccae74a 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 34c1646b51..12d31960d0 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 2677e56bc5..28cd0fc478 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index ea8ec9fb8e..e143e20a97 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index d9bd5f1ce0..e13ea53462 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index e173b9d33b..d6035248d2 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index cb7bc9e15a..e3dc0c4b0a 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index cac4ab5184..871582b182 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 9cb2a1cb23..d451e747b8 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index f33abb3ceb..7dfd4541f5 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 168af4d36d..722425ede4 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.2-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From ebe1ee6b6e61478ae9b3a42c3123ec8e709a8760 Mon Sep 17 00:00:00 2001 From: "Matthias J. Sax" Date: Fri, 24 Jun 2022 00:25:38 -0700 Subject: [PATCH 34/70] MINOR: fix master (#427) Upstream change broke the code: https://github.com/apache/kafka/commit/a6c5a74fdbdce9a992b47706913c920902cda28c#diff-84b3ac8682467c5c0fe024978e60e02c6f4583d3c72171ff20c41a419ca04b84) Reviewer: Bruno Cadonna --- .../examples/streams/algebird/CMSStore.scala | 2 +- .../streams/algebird/CMSStoreChangeLogger.scala | 11 ++++++----- .../ProbabilisticCountingScalaIntegrationTest.scala | 4 ++-- .../examples/streams/algebird/CMSStoreTest.scala | 10 +++++----- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/main/scala/io/confluent/examples/streams/algebird/CMSStore.scala b/src/main/scala/io/confluent/examples/streams/algebird/CMSStore.scala index c50fe726f0..c35ca8a4c4 100644 --- a/src/main/scala/io/confluent/examples/streams/algebird/CMSStore.scala +++ b/src/main/scala/io/confluent/examples/streams/algebird/CMSStore.scala @@ -194,7 +194,7 @@ class CMSStore[T: CMSHasher](override val name: String, name, Serdes.Integer(), TopCMSSerde[T]) - changeLogger = new CMSStoreChangeLogger[Integer, TopCMS[T]](name, context, serdes) + changeLogger = new CMSStoreChangeLogger[Integer, TopCMS[T]](name, context, serdes, name) // Note: We must manually guard with `loggingEnabled` here because `context.register()` ignores // that parameter. diff --git a/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala b/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala index 40628e8bf3..4bd0d0f0a9 100644 --- a/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala +++ b/src/main/scala/io/confluent/examples/streams/algebird/CMSStoreChangeLogger.scala @@ -16,7 +16,7 @@ package io.confluent.examples.streams.algebird import org.apache.kafka.streams.processor.StateStoreContext -import org.apache.kafka.streams.processor.internals.{ProcessorStateManager, RecordCollector} +import org.apache.kafka.streams.processor.internals.{InternalProcessorContext, ProcessorStateManager, RecordCollector} import org.apache.kafka.streams.state.StateSerdes /** @@ -31,20 +31,21 @@ import org.apache.kafka.streams.state.StateSerdes class CMSStoreChangeLogger[K, V](val storeName: String, val context: StateStoreContext, val partition: Int, - val serialization: StateSerdes[K, V]) { + val serialization: StateSerdes[K, V], + val processorNodeId: String) { private val topic = ProcessorStateManager.storeChangelogTopic(context.applicationId, storeName, context.taskId().topologyName()) private val collector = context.asInstanceOf[RecordCollector.Supplier].recordCollector - def this(storeName: String, context: StateStoreContext, serialization: StateSerdes[K, V]) = { - this(storeName, context, context.taskId.partition(), serialization) + def this(storeName: String, context: StateStoreContext, serialization: StateSerdes[K, V], processorNodeId: String) = { + this(storeName, context, context.taskId.partition(), serialization, processorNodeId) } def logChange(key: K, value: V, timestamp: Long): Unit = { if (collector != null) { val keySerializer = serialization.keySerializer val valueSerializer = serialization.valueSerializer - collector.send(this.topic, key, value, null, this.partition, timestamp, keySerializer, valueSerializer) + collector.send(this.topic, key, value, null, this.partition, timestamp, keySerializer, valueSerializer, processorNodeId, context.asInstanceOf[InternalProcessorContext[Void,Void]]) } } diff --git a/src/test/scala/io/confluent/examples/streams/ProbabilisticCountingScalaIntegrationTest.scala b/src/test/scala/io/confluent/examples/streams/ProbabilisticCountingScalaIntegrationTest.scala index 56e0a426c2..cc082ae08a 100644 --- a/src/test/scala/io/confluent/examples/streams/ProbabilisticCountingScalaIntegrationTest.scala +++ b/src/test/scala/io/confluent/examples/streams/ProbabilisticCountingScalaIntegrationTest.scala @@ -17,9 +17,9 @@ package io.confluent.examples.streams import java.util import java.util.Properties - import io.confluent.examples.streams.algebird.{CMSStoreBuilder, ProbabilisticCounter} import org.apache.kafka.common.serialization._ +import org.apache.kafka.streams.kstream.Named import org.apache.kafka.streams.scala.ImplicitConversions._ import org.apache.kafka.streams.scala.serialization.Serdes._ import org.apache.kafka.streams.scala.StreamsBuilder @@ -105,7 +105,7 @@ class ProbabilisticCountingScalaIntegrationTest extends AssertionsForJUnit { val textLines: KStream[String, String] = builder.stream[String, String](inputTopic) val approximateWordCounts: KStream[String, Long] = textLines .flatMapValues(textLine => textLine.toLowerCase.split("\\W+")) - .transform(() => new ProbabilisticCounter(cmsStoreName), cmsStoreName) + .transform(() => new ProbabilisticCounter(cmsStoreName), Named.as("cms-store"), cmsStoreName) approximateWordCounts.to(outputTopic) builder } diff --git a/src/test/scala/io/confluent/examples/streams/algebird/CMSStoreTest.scala b/src/test/scala/io/confluent/examples/streams/algebird/CMSStoreTest.scala index 8cc792d060..542a5557c3 100644 --- a/src/test/scala/io/confluent/examples/streams/algebird/CMSStoreTest.scala +++ b/src/test/scala/io/confluent/examples/streams/algebird/CMSStoreTest.scala @@ -15,8 +15,6 @@ */ package io.confluent.examples.streams.algebird -import java.lang.Long - import com.twitter.algebird.TopCMS import org.apache.kafka.clients.producer.ProducerRecord import org.apache.kafka.common.header.Headers @@ -24,7 +22,7 @@ import org.apache.kafka.common.metrics.Metrics import org.apache.kafka.common.serialization.{Serdes, Serializer} import org.apache.kafka.common.utils.LogContext import org.apache.kafka.streams.processor.StateStoreContext -import org.apache.kafka.streams.processor.internals.MockStreamsMetrics +import org.apache.kafka.streams.processor.internals.{InternalProcessorContext, MockStreamsMetrics} import org.apache.kafka.streams.state.KeyValueStoreTestDriver import org.apache.kafka.streams.state.internals.ThreadCache import org.apache.kafka.test.{InternalMockProcessorContext, MockRecordCollector, TestUtils} @@ -172,9 +170,11 @@ class CMSStoreTest extends AssertionsForJUnit with MockitoSugar { value: V, headers: Headers, partition: Integer, - timestamp: Long, + timestamp: java.lang.Long, keySerializer: Serializer[K], - valueSerializer: Serializer[V]): Unit = { + valueSerializer: Serializer[V], + processorNodeId: String, + internalContext: InternalProcessorContext[Void,Void]): Unit = { observedChangelogRecords.add(new ProducerRecord[K, V](topic, partition, timestamp, key, value)) } } From 41bbedf02f14f1313e224ca6dda28d4433086c1f Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 29 Jun 2022 23:29:57 +0000 Subject: [PATCH 35/70] Bump Confluent to 7.0.5-0, Kafka to 7.0.5-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 42435f8e90..189218c00e 100644 --- a/README.md +++ b/README.md @@ -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.4-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.5-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.4-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.4-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index fcd9083b42..d690b07155 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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.4-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.5-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 2316251282..9311704bda 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.4-0, 7.0.5-0) + [7.0.5-0, 7.0.6-0) kafka-streams-examples jar - 7.0.4-0 + 7.0.5-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.4-0 + 7.0.5-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 15ef732c5d..07e8fb7fdf 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 42e4a98126..87e54dcf1c 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 46e2889ef0..3c561ebb85 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 8326a4d66d..a88779c40f 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 13893d37f8..171d5ff2da 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 5a4efe3364..984f29ae38 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index a9c164feec..00b1b08d40 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index a480c15740..c6dec0cb70 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index e49cb6d4f2..cb9732c084 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 36e02b29fc..4a2baa517f 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.4-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 6a041a5098..fd4bf1a96e 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 0c52195233..30c7946e45 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index c76b68b021..a9537d5744 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 466d0090cc..dc5b049608 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 06ac26cb4b..bc9996b5d4 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 9b5d08b91c..e70235d60e 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.4-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 8f490a5c04..f5ff8e78b3 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index a72d442b45..09e6dc1428 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 6789016330..75df517204 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 46952ee35d..9eb1393427 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index f83a413bcd..8ba8ca8b85 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 33a1720e50..2acb10f828 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index f1c7be2c2b..2698367d70 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index a74eb61a46..8b42cd5e78 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index d473572d00..5021248375 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 19963bb2f6..8086711ed3 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index bf56c1913d..50cddb1f24 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 2dafb2f30558e3937433d3b88a7fd996e3681467 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Thu, 30 Jun 2022 00:52:34 +0000 Subject: [PATCH 36/70] Bump Confluent to 7.1.3-0, Kafka to 7.1.3-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index cbc040feac..e9c5f5bb84 100644 --- a/README.md +++ b/README.md @@ -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.1.2-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.1.3-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1.2-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.2-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index f6d5201dbf..20efd30a5b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,7 +92,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.1.2-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.1.3-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 534ad9cc36..a1732e7c3a 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.1.2-0, 7.1.3-0) + [7.1.3-0, 7.1.4-0) kafka-streams-examples jar - 7.1.2-0 + 7.1.3-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.2-0 + 7.1.3-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 1831ab7508..e89614355c 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index e6a1106292..8d47050e38 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 68690f7f67..a560b16093 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index ddeb69cea9..aad24f3f9a 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index e91d396604..9f448ad098 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 6ca74ca6e1..27533ea7bd 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index fd1d2ce22d..281b044fe7 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 321bd80ced..6c92c63347 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 331cab618c..b90ccc0f8d 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index ff93ba3a1e..b61decda7f 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.2-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 2e0ff4ed5e..a8ac754fba 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index a9ae560c21..3bc4453c95 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 28ed2e430a..a7a3ec523e 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 64b268de1d..0fabfc6f45 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 8e8893d773..0f7bfa444d 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index d18c80f21a..602163e645 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 14fb39ffdb..050d5cb1ec 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 34c1646b51..6741f355b1 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 2677e56bc5..c32590e5ee 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index ea8ec9fb8e..e2357be7da 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index d9bd5f1ce0..57b86b4915 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index e173b9d33b..eff7483458 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index cb7bc9e15a..1642c034d7 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index cac4ab5184..012ff746f5 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 9cb2a1cb23..4aa37633d9 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index f33abb3ceb..e08bc317ae 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 168af4d36d..965ca18c0e 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 1efad7cf401c5289403d0f39a730c4eee642b41f Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Tue, 5 Jul 2022 03:22:56 +0000 Subject: [PATCH 37/70] Set Confluent to 7.2.0, Kafka to 7.2.0. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 814acef240..042389fa65 100644 --- a/README.md +++ b/README.md @@ -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.2.0-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.2.0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.2.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.2.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 0608f21041..8b500c140e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.2.x-latest + image: confluentinc/cp-zookeeper:7.2.0 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.2.x-latest + image: confluentinc/cp-enterprise-kafka:7.2.0 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.2.x-latest + image: confluentinc/cp-schema-registry:7.2.0 hostname: schema-registry depends_on: - zookeeper @@ -56,7 +56,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.2.x-latest + image: confluentinc/cp-kafka:7.2.0 depends_on: - kafka hostname: kafka-create-topics @@ -81,7 +81,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.2.x-latest + image: confluentinc/kafka-streams-examples:7.2.0 hostname: kafka-music-data-generator depends_on: - kafka @@ -92,7 +92,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.2.0-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.2.0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -106,7 +106,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.2.x-latest + image: confluentinc/kafka-streams-examples:7.2.0 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index b6e76a18e4..75da57d4ff 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.2.0-0, 7.2.1-0) + 7.2.0 kafka-streams-examples jar - 7.2.0-0 + 7.2.0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.2.0-0 + 7.2.0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index f413b9f24a..38ca9e2162 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 676a33d317..2dc7b16859 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 1e503f46e1..52e0cf38b3 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 5164542472..9fb31fb631 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index f018773ac0..8fe4b433f7 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 593ed6dbb8..a9c24e1f54 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index afbf2046b6..6455bebe98 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 01017fb116..369229a369 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 365a73d85d..b58dd0f823 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index ae77ed32f8..163d9f24ba 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.2.0-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.2.0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index fc5c6dcd21..94a766d61a 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index a12d0a9cd9..1e7bd7264b 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index ba1173ced6..9a5afd7a90 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index bcf27683f4..a5a90d901e 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 259cbe0a16..d307bd5ee9 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index df27b34d8a..647b713f46 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 9278bad51e..ecc1d68fd9 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 2313484929..90a2ca32f3 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 024f829981..2b3112c7e3 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 7b620cbb94..de0d2d879e 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 55a15a2402..470ea33070 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 60db05da31..2dba7601f9 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index a6cade4321..f0cb837477 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 7482a0c7bd..fe6b7e3769 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index b1959a665a..873bc6cdd5 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 8c94256a54..f64ad0483b 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 62d74c7aad..1b507189e4 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.2.0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From c7b16b75a3460e834ccf707a71fb0c2579ab6aac Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Thu, 7 Jul 2022 20:49:38 +0000 Subject: [PATCH 38/70] Bump Confluent to 7.2.1-0, Kafka to 7.2.1-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 814acef240..a465f6289f 100644 --- a/README.md +++ b/README.md @@ -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.2.0-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.2.1-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.2.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.2.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 0608f21041..22889bca7b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,7 +92,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.2.0-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.2.1-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index b6e76a18e4..101b3b988f 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.2.0-0, 7.2.1-0) + [7.2.1-0, 7.2.2-0) kafka-streams-examples jar - 7.2.0-0 + 7.2.1-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.2.0-0 + 7.2.1-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index f413b9f24a..215015ede8 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 676a33d317..e4d4c3d913 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 1e503f46e1..e00659aabd 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 5164542472..f48ebb4ed7 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index f018773ac0..fd8af75f37 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 593ed6dbb8..4c19913552 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index afbf2046b6..9d4762b3a7 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 01017fb116..4aec8498f4 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 365a73d85d..a086ab9ca4 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index ae77ed32f8..7efadebe83 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.2.0-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index fc5c6dcd21..36187467e6 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index a12d0a9cd9..b3665e9ec3 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index ba1173ced6..40431024ef 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index bcf27683f4..4cd14f064c 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 259cbe0a16..9a3349eac9 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index df27b34d8a..05e40ee94d 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 9278bad51e..6a6275835f 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 2313484929..3eaa6f6db4 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 024f829981..8ec798279e 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 7b620cbb94..6ee28a1e25 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 55a15a2402..5f6cdf616c 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 60db05da31..01e3535fd1 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index a6cade4321..c2ba64b112 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 7482a0c7bd..7125958675 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index b1959a665a..df8e69c997 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 8c94256a54..c2755b65b0 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 62d74c7aad..b2e40c536e 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From aebac85601bb3ab0f71a0732b0f50b6b32f881a3 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Thu, 14 Jul 2022 00:10:33 +0000 Subject: [PATCH 39/70] Set Confluent to 7.0.5, Kafka to 7.0.5. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 189218c00e..358e074044 100644 --- a/README.md +++ b/README.md @@ -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.5-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.5-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.5-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.5-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.5-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.5-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index d690b07155..70f515c83e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.0.x-latest + image: confluentinc/cp-zookeeper:7.0.5 hostname: zookeeper ports: - '32181:32181' @@ -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.5 hostname: kafka ports: - '9092:9092' @@ -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.5 hostname: schema-registry depends_on: - zookeeper @@ -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.5 depends_on: - kafka hostname: kafka-create-topics @@ -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.5 hostname: kafka-music-data-generator depends_on: - kafka @@ -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.5-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.5-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -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.5 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 9311704bda..f614c57482 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.5-0, 7.0.6-0) + 7.0.5 kafka-streams-examples jar - 7.0.5-0 + 7.0.5 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.5-0 + 7.0.5 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 07e8fb7fdf..24af4110bb 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 87e54dcf1c..febb098125 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 3c561ebb85..860ac25ad9 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.5-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index a88779c40f..3299075313 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 171d5ff2da..0f3fa2c858 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 984f29ae38..c875fd757d 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 00b1b08d40..13a7b7fd76 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index c6dec0cb70..ffe21b8eaf 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index cb9732c084..9aad989c10 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 4a2baa517f..2b632c673b 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.5-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.5-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index fd4bf1a96e..28d8d36925 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 30c7946e45..85c8099fe2 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index a9537d5744..d707797b64 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index dc5b049608..81bd3626bd 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index bc9996b5d4..b9025c80e5 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index e70235d60e..3c1fc9fc33 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.5-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index f5ff8e78b3..23829c2313 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 09e6dc1428..ecefb3242e 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 75df517204..876bc60784 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 9eb1393427..39035b7bc5 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 8ba8ca8b85..4e40857369 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 2acb10f828..9f0a866e30 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 2698367d70..cd95509e2e 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 8b42cd5e78..1ce3f56c1e 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 5021248375..0d01b9747c 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 8086711ed3..73674ea2a7 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 50cddb1f24..6a03ce4b48 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 8057109368919e505ad33ade39abd1240126e601 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Thu, 14 Jul 2022 00:36:54 +0000 Subject: [PATCH 40/70] Set Confluent to 7.1.3, Kafka to 7.1.3. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index e9c5f5bb84..ed59005135 100644 --- a/README.md +++ b/README.md @@ -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.1.3-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.1.3-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1.3-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.3-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.3-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.3-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 20efd30a5b..cb11a9ddac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.1.x-latest + image: confluentinc/cp-zookeeper:7.1.3 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.1.x-latest + image: confluentinc/cp-enterprise-kafka:7.1.3 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.1.x-latest + image: confluentinc/cp-schema-registry:7.1.3 hostname: schema-registry depends_on: - zookeeper @@ -56,7 +56,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.1.x-latest + image: confluentinc/cp-kafka:7.1.3 depends_on: - kafka hostname: kafka-create-topics @@ -81,7 +81,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.1.x-latest + image: confluentinc/kafka-streams-examples:7.1.3 hostname: kafka-music-data-generator depends_on: - kafka @@ -92,7 +92,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.1.3-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.1.3-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -106,7 +106,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.1.x-latest + image: confluentinc/kafka-streams-examples:7.1.3 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index a1732e7c3a..f5da8ca274 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.1.3-0, 7.1.4-0) + 7.1.3 kafka-streams-examples jar - 7.1.3-0 + 7.1.3 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.3-0 + 7.1.3 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index e89614355c..50475120f0 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 8d47050e38..d9897272de 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index a560b16093..7803948773 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index aad24f3f9a..53b3c5eb65 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 9f448ad098..62666a29ab 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 27533ea7bd..2ed9406345 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 281b044fe7..bdad08a37b 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 6c92c63347..54fc446081 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index b90ccc0f8d..5d7a7431b4 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index b61decda7f..1cf71c75c9 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.3-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.1.3-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index a8ac754fba..e86a4e8865 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 3bc4453c95..2d19ffeb59 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index a7a3ec523e..13daf9afcc 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 0fabfc6f45..b8359cce6f 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 0f7bfa444d..a3e49faf49 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 602163e645..9f97c33f0e 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 050d5cb1ec..0a97130d74 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 6741f355b1..9f88f0b393 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index c32590e5ee..66ec98166e 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index e2357be7da..a2ee1cc61a 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 57b86b4915..c8e24c95b6 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index eff7483458..eb17e19954 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 1642c034d7..f42d8ce7b0 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 012ff746f5..a9d987acb1 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 4aa37633d9..9bdc07c19b 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index e08bc317ae..5bd49ec5d0 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 965ca18c0e..ab82248e99 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.3-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From d6d6cd0ed63e9bd22889b1143a96e8fa737b76bf Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Thu, 14 Jul 2022 01:03:38 +0000 Subject: [PATCH 41/70] Set Confluent to 7.2.1, Kafka to 7.2.1. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index a465f6289f..25d3b1f15b 100644 --- a/README.md +++ b/README.md @@ -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.2.1-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.2.1-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.2.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.1-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.2.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.1-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 22889bca7b..f5edd31435 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.2.x-latest + image: confluentinc/cp-zookeeper:7.2.1 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.2.x-latest + image: confluentinc/cp-enterprise-kafka:7.2.1 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.2.x-latest + image: confluentinc/cp-schema-registry:7.2.1 hostname: schema-registry depends_on: - zookeeper @@ -56,7 +56,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.2.x-latest + image: confluentinc/cp-kafka:7.2.1 depends_on: - kafka hostname: kafka-create-topics @@ -81,7 +81,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.2.x-latest + image: confluentinc/kafka-streams-examples:7.2.1 hostname: kafka-music-data-generator depends_on: - kafka @@ -92,7 +92,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.2.1-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.2.1-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -106,7 +106,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.2.x-latest + image: confluentinc/kafka-streams-examples:7.2.1 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 101b3b988f..0809ce9b86 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.2.1-0, 7.2.2-0) + 7.2.1 kafka-streams-examples jar - 7.2.1-0 + 7.2.1 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.2.1-0 + 7.2.1 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 215015ede8..8b23810755 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index e4d4c3d913..4eed96b7b8 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index e00659aabd..926f80096b 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index f48ebb4ed7..1ff052c758 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index fd8af75f37..d4e3aedaeb 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 4c19913552..d56677a7f4 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 9d4762b3a7..04d040b472 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 4aec8498f4..b0330ca41f 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index a086ab9ca4..bf045b62d9 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 7efadebe83..cfcabd2d73 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.2.1-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.2.1-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 36187467e6..45e9774f91 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index b3665e9ec3..d940e3adc7 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 40431024ef..4246c06e89 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 4cd14f064c..4154f1352f 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 9a3349eac9..ed4216c093 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 05e40ee94d..d09ef3f9be 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 6a6275835f..2b263f2ede 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 3eaa6f6db4..eaa4f622b8 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 8ec798279e..76b52c7f2a 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 6ee28a1e25..4a70f63fb8 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 5f6cdf616c..94644fe4a2 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 01e3535fd1..ad33977fef 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index c2ba64b112..3025eff362 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 7125958675..c52f6218f7 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index df8e69c997..7e340153a8 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index c2755b65b0..aeeac19443 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index b2e40c536e..f8947d37ad 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.2.1-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 24dcfaf1b191c96b4dfd8fd2e066b2f5642727d3 Mon Sep 17 00:00:00 2001 From: mkandaswamy Date: Fri, 15 Jul 2022 14:58:10 -0700 Subject: [PATCH 42/70] security fix: Migrate from log4j to reload4j --- pom.xml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 9311704bda..d822a5edd4 100644 --- a/pom.xml +++ b/pom.xml @@ -131,12 +131,8 @@
org.slf4j - slf4j-log4j12 - - - - io.confluent - confluent-log4j + slf4j-reload4j + 1.7.36 javax.ws.rs @@ -267,12 +263,24 @@ io.confluent kafka-schema-registry + + + org.slf4j + slf4j-log4j12 + + ${io.confluent.schema-registry.version} test io.confluent kafka-schema-registry + + + org.slf4j + slf4j-log4j12 + + ${io.confluent.schema-registry.version} tests From d6115065f79e1619af848f7e0767c7a454d4521c Mon Sep 17 00:00:00 2001 From: mkandaswamy Date: Mon, 18 Jul 2022 18:37:11 -0700 Subject: [PATCH 43/70] security fix: Migrate from log4j to reload4j (#435) * security fix: Migrate from log4j to reload4j * Add logredactor as a dependency for 7.1 --- pom.xml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index a1732e7c3a..33c5f51f2f 100644 --- a/pom.xml +++ b/pom.xml @@ -131,12 +131,13 @@ org.slf4j - slf4j-log4j12 + slf4j-reload4j + 1.7.36 - io.confluent - confluent-log4j + logredactor + 1.0.10 javax.ws.rs @@ -267,12 +268,24 @@ io.confluent kafka-schema-registry + + + org.slf4j + slf4j-log4j12 + + ${io.confluent.schema-registry.version} test io.confluent kafka-schema-registry + + + org.slf4j + slf4j-log4j12 + + ${io.confluent.schema-registry.version} tests From 6117f514811a77942977ccb6c43c5a36cd9df123 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Fri, 29 Jul 2022 00:27:21 +0000 Subject: [PATCH 44/70] Bump Confluent to 7.0.6-0, Kafka to 7.0.6-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 189218c00e..65f4d06662 100644 --- a/README.md +++ b/README.md @@ -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.5-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.6-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.5-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.5-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index d690b07155..a5bf455f95 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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.5-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.6-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index d822a5edd4..b89fb4670f 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.5-0, 7.0.6-0) + [7.0.6-0, 7.0.7-0) kafka-streams-examples jar - 7.0.5-0 + 7.0.6-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.5-0 + 7.0.6-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 07e8fb7fdf..69c4e6270b 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 87e54dcf1c..f08f98f8e2 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 3c561ebb85..ded72a4872 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.5-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index a88779c40f..c7fa5edab5 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 171d5ff2da..60da2391c9 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 984f29ae38..c9a546a1fa 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 00b1b08d40..00e00d2758 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index c6dec0cb70..a6a47252c1 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index cb9732c084..0e9f35a705 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 4a2baa517f..5b5f46df95 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.5-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index fd4bf1a96e..f707c59ecf 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 30c7946e45..d02fcbc263 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index a9537d5744..dbc066a28e 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index dc5b049608..dc7d701ef3 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index bc9996b5d4..2e3a2e823f 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index e70235d60e..6e78c93d4c 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.5-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index f5ff8e78b3..32749fd641 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 09e6dc1428..1df7a82982 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 75df517204..f9cad2c880 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 9eb1393427..34f5852657 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 8ba8ca8b85..b20691a43d 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 2acb10f828..0c2c9df2ab 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 2698367d70..ccc3d3654c 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 8b42cd5e78..550c8195bf 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 5021248375..988fc52d89 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 8086711ed3..ae00781d15 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 50cddb1f24..b7a8818f77 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From d84fac06f6f385bfd9151e1fbf3dfef356053a48 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Fri, 29 Jul 2022 17:41:07 +0000 Subject: [PATCH 45/70] Bump Confluent to 7.1.4-0, Kafka to 7.1.4-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index e9c5f5bb84..7422465298 100644 --- a/README.md +++ b/README.md @@ -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.1.3-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.1.4-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1.3-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.3-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 20efd30a5b..cd5c3b838e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,7 +92,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.1.3-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.1.4-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 33c5f51f2f..dec2ccb04c 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.1.3-0, 7.1.4-0) + [7.1.4-0, 7.1.5-0) kafka-streams-examples jar - 7.1.3-0 + 7.1.4-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.3-0 + 7.1.4-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index e89614355c..f0863d9721 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 8d47050e38..f3b3aa9623 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index a560b16093..e73bf5e7e7 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index aad24f3f9a..0a7b1af907 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 9f448ad098..c5014f880f 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 27533ea7bd..46cec577d3 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 281b044fe7..3e292f73cd 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 6c92c63347..8d7fd46c8b 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index b90ccc0f8d..2b8984fea7 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index b61decda7f..dd4a1a173a 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.3-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index a8ac754fba..8440dbb8a3 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 3bc4453c95..ba695509f4 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index a7a3ec523e..e3e860fa44 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 0fabfc6f45..cf77a15615 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 0f7bfa444d..fbeb468933 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 602163e645..8ae0b35fdb 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 050d5cb1ec..246b4d343e 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 6741f355b1..a48ff1a225 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index c32590e5ee..74ad9783f6 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index e2357be7da..ef769a17b2 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 57b86b4915..b947ef8086 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index eff7483458..6044c42f4b 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 1642c034d7..6a4fbb1b80 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 012ff746f5..bf80655d54 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 4aa37633d9..88472d98e4 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index e08bc317ae..3bf82de342 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 965ca18c0e..e6fd010046 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 37fbc2cc0cdf2183507911f1745eae9112a9ae45 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Fri, 29 Jul 2022 18:49:43 +0000 Subject: [PATCH 46/70] Bump Confluent to 7.2.2-0, Kafka to 7.2.2-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index a465f6289f..6443f2762e 100644 --- a/README.md +++ b/README.md @@ -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.2.1-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.2.2-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.2.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.2.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 22889bca7b..62c589e6a1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,7 +92,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.2.1-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.2.2-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 101b3b988f..67f497b9c3 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.2.1-0, 7.2.2-0) + [7.2.2-0, 7.2.3-0) kafka-streams-examples jar - 7.2.1-0 + 7.2.2-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.2.1-0 + 7.2.2-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 215015ede8..5412a8d9ef 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index e4d4c3d913..b8e27f8ec2 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index e00659aabd..e45981ba19 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index f48ebb4ed7..db513754b9 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index fd8af75f37..a5e605d0a2 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 4c19913552..d7e1b4c157 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 9d4762b3a7..767ea617db 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 4aec8498f4..45361ea3ec 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index a086ab9ca4..52687897c1 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 7efadebe83..179fe616ab 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.2.1-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 36187467e6..678f209eae 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index b3665e9ec3..1a9bd0f583 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 40431024ef..4cbc5b1763 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 4cd14f064c..cf7e0ce564 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 9a3349eac9..2715bb8a67 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 05e40ee94d..4def40f478 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 6a6275835f..5380262ad4 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 3eaa6f6db4..ce09dfdc36 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 8ec798279e..eaec547d41 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 6ee28a1e25..777c1f3444 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 5f6cdf616c..aea2c434cc 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 01e3535fd1..2154cbce92 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index c2ba64b112..71186b9e9c 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 7125958675..00d20a1c20 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index df8e69c997..425c4b127d 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index c2755b65b0..365beee73b 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index b2e40c536e..e4040ac716 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 5e398a3d0c5e00856e21c6c3a21ff26af7c2bb72 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Mon, 8 Aug 2022 21:29:34 +0000 Subject: [PATCH 47/70] Bump Confluent to 7.3.0-0, Kafka to 7.3.0-0 --- .../java/io/confluent/examples/streams/microservices/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/confluent/examples/streams/microservices/README.md b/src/main/java/io/confluent/examples/streams/microservices/README.md index 5b31189325..3e9a7168a5 100644 --- a/src/main/java/io/confluent/examples/streams/microservices/README.md +++ b/src/main/java/io/confluent/examples/streams/microservices/README.md @@ -34,7 +34,7 @@ Then run the fully-working demo [end-to-end](https://docs.confluent.io/current/t It runs the ecosystem and all the microservices for you including Kafka Connect, Elasticsearch, KSQL and Control Center. To play with this ecosystem the simplest way is to run the tests and fiddle with the code (stand alone execution is only supported in branch 5.0.0+ so go there if you want stand alone or docker support). Each test boots a self-contained Kafka cluster so it's easy to play with different queries and configurations. -The best place to start is [EndToEndTest.java](https://github.com/confluentinc/kafka-streams-examples/blob/master/src/test/java/io/confluent/examples/streams/microservices/EndToEndTest.java) +The best place to start is [EndToEndTest.java](https://github.com/confluentinc/kafka-streams-examples/blob/7.3.x/src/test/java/io/confluent/examples/streams/microservices/EndToEndTest.java) # Running the Examples: * Requires Java 1.8 From 064ca601a6a55c4c86cf047fb75be079df23ad6d Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Mon, 8 Aug 2022 21:29:55 +0000 Subject: [PATCH 48/70] Bump Confluent to 7.4.0-0, Kafka to 7.4.0-0 --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 8b4c2dfc44..20ee75c17a 100644 --- a/README.md +++ b/README.md @@ -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.3.0-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.4.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 @@ -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.3.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.3.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 8c4d89058a..f4b0bdd6a9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.3.x-latest + image: confluentinc/cp-zookeeper:7.4.x-latest hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.3.x-latest + image: confluentinc/cp-enterprise-kafka:7.4.x-latest hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.3.x-latest + image: confluentinc/cp-schema-registry:7.4.x-latest hostname: schema-registry depends_on: - zookeeper @@ -56,7 +56,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.3.x-latest + image: confluentinc/cp-kafka:7.4.x-latest depends_on: - kafka hostname: kafka-create-topics @@ -81,7 +81,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.3.x-latest + image: confluentinc/kafka-streams-examples:7.4.x-latest hostname: kafka-music-data-generator depends_on: - kafka @@ -92,7 +92,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.3.0-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.4.0-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -106,7 +106,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.3.x-latest + image: confluentinc/kafka-streams-examples:7.4.x-latest hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 34953b96dd..e43fdd311a 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.3.0-0, 7.3.1-0) + [7.4.0-0, 7.4.1-0) kafka-streams-examples jar - 7.3.0-0 + 7.4.0-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.3.0-0 + 7.4.0-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 514f6a8318..3533b16c69 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 4765d4356d..653c271baa 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index bfc1aee7cd..54f16445cc 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 2a0dbd6582..e7095d0cfc 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 42c4953e4a..e490031bca 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index a327187871..b80128846a 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index f3c546f267..2b6cae7716 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 6edb3c72ea..61cb90b425 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 84c407398d..8b416393be 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 0100b8700c..9952891303 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.3.0-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index e5a5c52993..0002b329b7 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 894aa44d85..8b443591f2 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 542b187c17..5b566ed4c5 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index bc69496adc..23af0221ab 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index dab595c205..ac9d8c1086 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 1bc0e9442c..3d3974d4e9 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 4b4f9c36fd..6945957895 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 057154fe29..c1fecbff58 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 021e017001..ed39a23903 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index f6118b961a..4ca3cce478 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 47b25109ad..eeadcc9415 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 2e04061263..3bf1e4ef33 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index c1c6a39859..084cff27f5 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 62b508906d..0ac54986da 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 4055fb8614..27bd6f1253 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index d66875c20c..83dbcb4218 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 22a995c910..42a50b6a19 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.4.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 97fcaeb00ed35a267337cff0f422c6f920c11c06 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Tue, 20 Sep 2022 00:28:24 +0000 Subject: [PATCH 49/70] Set Confluent to 7.1.4, Kafka to 7.1.4. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 7422465298..7292aaeaa6 100644 --- a/README.md +++ b/README.md @@ -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.1.4-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.1.4-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1.4-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.4-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.4-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.4-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index cd5c3b838e..563f6f7ad1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.1.x-latest + image: confluentinc/cp-zookeeper:7.1.4 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.1.x-latest + image: confluentinc/cp-enterprise-kafka:7.1.4 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.1.x-latest + image: confluentinc/cp-schema-registry:7.1.4 hostname: schema-registry depends_on: - zookeeper @@ -56,7 +56,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.1.x-latest + image: confluentinc/cp-kafka:7.1.4 depends_on: - kafka hostname: kafka-create-topics @@ -81,7 +81,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.1.x-latest + image: confluentinc/kafka-streams-examples:7.1.4 hostname: kafka-music-data-generator depends_on: - kafka @@ -92,7 +92,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.1.4-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.1.4-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -106,7 +106,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.1.x-latest + image: confluentinc/kafka-streams-examples:7.1.4 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index dec2ccb04c..c827727f16 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.1.4-0, 7.1.5-0) + 7.1.4 kafka-streams-examples jar - 7.1.4-0 + 7.1.4 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.4-0 + 7.1.4 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index f0863d9721..6c86fe8f0f 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index f3b3aa9623..b2bd006b44 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index e73bf5e7e7..ac593993b0 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 0a7b1af907..3720a486f8 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index c5014f880f..8aa38eee93 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 46cec577d3..02cc90d84b 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 3e292f73cd..32e4ab6439 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 8d7fd46c8b..0e556dcfe2 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 2b8984fea7..52e615cead 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index dd4a1a173a..e9bcf319fa 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.4-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.1.4-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 8440dbb8a3..fcd62bf997 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index ba695509f4..d99d41aedf 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index e3e860fa44..041541f756 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index cf77a15615..e48cf13c43 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index fbeb468933..79e9ca46af 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 8ae0b35fdb..aec76091ff 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 246b4d343e..d7c08ad614 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index a48ff1a225..f3fd58fd62 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 74ad9783f6..90bc52648e 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index ef769a17b2..f085fc96a1 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index b947ef8086..a5075d8656 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 6044c42f4b..8fbb6c0d25 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 6a4fbb1b80..101e1596dd 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index bf80655d54..736b32a6b8 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 88472d98e4..f6c36d8b36 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 3bf82de342..e59cc505f0 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index e6fd010046..0fa6627f30 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.4-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From dc1de17d10f1a19020bf43f857a8d29f6d75d282 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Tue, 20 Sep 2022 00:29:42 +0000 Subject: [PATCH 50/70] Set Confluent to 7.0.6, Kafka to 7.0.6. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 65f4d06662..62d1fc3c1a 100644 --- a/README.md +++ b/README.md @@ -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.6-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.6-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.6-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.6-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.6-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.6-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index a5bf455f95..6ec4638ede 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.0.x-latest + image: confluentinc/cp-zookeeper:7.0.6 hostname: zookeeper ports: - '32181:32181' @@ -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.6 hostname: kafka ports: - '9092:9092' @@ -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.6 hostname: schema-registry depends_on: - zookeeper @@ -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.6 depends_on: - kafka hostname: kafka-create-topics @@ -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.6 hostname: kafka-music-data-generator depends_on: - kafka @@ -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.6-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.6-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -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.6 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index b89fb4670f..987b8833b2 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.6-0, 7.0.7-0) + 7.0.6 kafka-streams-examples jar - 7.0.6-0 + 7.0.6 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.6-0 + 7.0.6 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 69c4e6270b..6738ce85d8 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index f08f98f8e2..9bcd271a2d 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index ded72a4872..06dc64e6f0 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.6-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index c7fa5edab5..fa42236a10 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 60da2391c9..a0826f64e8 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index c9a546a1fa..5bd5154dc7 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 00e00d2758..d3c0ceeccb 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index a6a47252c1..edb6050dd4 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 0e9f35a705..d7a394a299 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 5b5f46df95..3b83f3a0e5 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.6-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.6-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index f707c59ecf..fa826e08eb 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.6-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index d02fcbc263..7f512650cf 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index dbc066a28e..0175899ce8 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.6-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index dc7d701ef3..5ba270aae9 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 2e3a2e823f..e48f2102a8 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 6e78c93d4c..c49188caf0 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.6-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 32749fd641..1e6b452390 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 1df7a82982..3d65e9a2ea 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index f9cad2c880..39f4e6982b 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 34f5852657..58a6c20eac 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index b20691a43d..d3eda47337 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 0c2c9df2ab..d2b1852585 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index ccc3d3654c..42c07de83f 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 550c8195bf..414757446b 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 988fc52d89..b5eba80862 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index ae00781d15..24fcbb2daf 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index b7a8818f77..cfcb780061 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.6-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 5908aae8aab3a6f6cc6b8d0e7cb85fbcadb88475 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Tue, 20 Sep 2022 01:29:18 +0000 Subject: [PATCH 51/70] Set Confluent to 7.2.2, Kafka to 7.2.2. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 6443f2762e..0c683159aa 100644 --- a/README.md +++ b/README.md @@ -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.2.2-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.2.2-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.2.2-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.2-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.2.2-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.2-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 62c589e6a1..9f8888f96a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.2.x-latest + image: confluentinc/cp-zookeeper:7.2.2 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.2.x-latest + image: confluentinc/cp-enterprise-kafka:7.2.2 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.2.x-latest + image: confluentinc/cp-schema-registry:7.2.2 hostname: schema-registry depends_on: - zookeeper @@ -56,7 +56,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.2.x-latest + image: confluentinc/cp-kafka:7.2.2 depends_on: - kafka hostname: kafka-create-topics @@ -81,7 +81,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.2.x-latest + image: confluentinc/kafka-streams-examples:7.2.2 hostname: kafka-music-data-generator depends_on: - kafka @@ -92,7 +92,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.2.2-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.2.2-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -106,7 +106,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.2.x-latest + image: confluentinc/kafka-streams-examples:7.2.2 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 67f497b9c3..5376c40fcc 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.2.2-0, 7.2.3-0) + 7.2.2 kafka-streams-examples jar - 7.2.2-0 + 7.2.2 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.2.2-0 + 7.2.2 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 5412a8d9ef..f48561756f 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index b8e27f8ec2..b777c34f98 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index e45981ba19..a1df880d79 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index db513754b9..4c7cfc3155 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index a5e605d0a2..f457c01d92 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index d7e1b4c157..b1293f3985 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 767ea617db..b78f298558 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 45361ea3ec..9b149dde92 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 52687897c1..b83fe141e6 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 179fe616ab..4115638d53 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.2.2-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.2.2-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 678f209eae..4de3af914d 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 1a9bd0f583..703ccd8d5e 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 4cbc5b1763..60027297cd 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index cf7e0ce564..72083d79b5 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 2715bb8a67..9d2e3a2671 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 4def40f478..fe15037a34 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 5380262ad4..e077911eea 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index ce09dfdc36..503ec7f518 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index eaec547d41..459f0cd7a6 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 777c1f3444..cc60df5c9d 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index aea2c434cc..8631f1f71a 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 2154cbce92..90d77efef4 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 71186b9e9c..991a94e099 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 00d20a1c20..174fcefbf5 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 425c4b127d..c44dfc53b2 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 365beee73b..5cef2755f5 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index e4040ac716..290c8388ff 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.2.2-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From a4f04f2afc0f48681cfa49e2e1d869b46e52360b Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 28 Sep 2022 11:40:11 +0000 Subject: [PATCH 52/70] Bump Confluent to 7.0.7-0, Kafka to 7.0.7-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 65f4d06662..9dae080924 100644 --- a/README.md +++ b/README.md @@ -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.6-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.7-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.6-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.6-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index a5bf455f95..a69f6a306f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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.6-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.7-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index b89fb4670f..4344e0876a 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.6-0, 7.0.7-0) + [7.0.7-0, 7.0.8-0) kafka-streams-examples jar - 7.0.6-0 + 7.0.7-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.6-0 + 7.0.7-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 69c4e6270b..f0a5b0a7dd 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index f08f98f8e2..b8cb464a1d 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index ded72a4872..8aa8f20296 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.6-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index c7fa5edab5..b870cb4543 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 60da2391c9..e55665233a 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index c9a546a1fa..9752ab94d2 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 00e00d2758..0d9181234a 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index a6a47252c1..406c490dd6 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 0e9f35a705..8f42e74748 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 5b5f46df95..fb3fa05f2c 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.6-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index f707c59ecf..5686fe4e78 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.6-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index d02fcbc263..8a905d86b5 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index dbc066a28e..37e6eac5aa 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.6-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index dc7d701ef3..d78ec9cd64 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 2e3a2e823f..b43a79f8ae 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 6e78c93d4c..a626f09846 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.6-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 32749fd641..59477355c1 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 1df7a82982..ee44e655df 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index f9cad2c880..0d1459ac7c 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 34f5852657..4d11a132ee 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index b20691a43d..33a0ed64eb 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 0c2c9df2ab..fadde9fa2f 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index ccc3d3654c..eab54ab06d 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 550c8195bf..46b23a517a 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 988fc52d89..6f40c8d4bb 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index ae00781d15..4753632620 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index b7a8818f77..a2f87c8d1e 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.6-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From f4f5951101e7608938df911dbee0e15184198b0f Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 28 Sep 2022 14:35:53 +0000 Subject: [PATCH 53/70] Bump Confluent to 7.1.5-0, Kafka to 7.1.5-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 7422465298..fbd2a52cd1 100644 --- a/README.md +++ b/README.md @@ -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.1.4-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.1.5-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1.4-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.4-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index cd5c3b838e..64ff4a4995 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,7 +92,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.1.4-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.1.5-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index dec2ccb04c..9c02440d30 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.1.4-0, 7.1.5-0) + [7.1.5-0, 7.1.6-0) kafka-streams-examples jar - 7.1.4-0 + 7.1.5-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.4-0 + 7.1.5-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index f0863d9721..36c8707646 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index f3b3aa9623..9ac497fb4a 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index e73bf5e7e7..a4c3e848bc 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 0a7b1af907..0050b4a14b 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index c5014f880f..dafa6b6a92 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 46cec577d3..1668aa06f5 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 3e292f73cd..5332c87d10 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 8d7fd46c8b..dc4d208b4d 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 2b8984fea7..eac230d52b 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index dd4a1a173a..9831b1d23a 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.4-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 8440dbb8a3..4022180d7a 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index ba695509f4..0b539f2806 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index e3e860fa44..12ff290a24 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index cf77a15615..ff179627b2 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index fbeb468933..278fd532c0 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 8ae0b35fdb..44822bf4a2 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 246b4d343e..a9571ca3eb 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index a48ff1a225..006e640ae9 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 74ad9783f6..293fac102b 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index ef769a17b2..a231055260 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index b947ef8086..0159801b77 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 6044c42f4b..6f4fa8b4ef 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 6a4fbb1b80..8a2c2fc1b6 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index bf80655d54..b1694aa800 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 88472d98e4..9221c965e7 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 3bf82de342..c52f0d8520 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index e6fd010046..788be7f4a4 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From ebb78179f59e6141de589f838eb7247741a82f61 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 28 Sep 2022 16:54:34 +0000 Subject: [PATCH 54/70] Bump Confluent to 7.2.3-0, Kafka to 7.2.3-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 6443f2762e..595833aa4f 100644 --- a/README.md +++ b/README.md @@ -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.2.2-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.2.3-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.2.2-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.2.2-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 62c589e6a1..e08b733ad0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,7 +92,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.2.2-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.2.3-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 67f497b9c3..676cac452d 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.2.2-0, 7.2.3-0) + [7.2.3-0, 7.2.4-0) kafka-streams-examples jar - 7.2.2-0 + 7.2.3-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.2.2-0 + 7.2.3-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 5412a8d9ef..9cd3d5fbf2 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index b8e27f8ec2..809e5cef01 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index e45981ba19..18e0cd50fd 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index db513754b9..928825883c 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index a5e605d0a2..db0ae09cdd 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index d7e1b4c157..d65cf13b51 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 767ea617db..6add0dafb9 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 45361ea3ec..40e60bea49 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 52687897c1..a732c78fbb 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 179fe616ab..ff2cbf508e 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.2.2-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 678f209eae..c3b0e1bb4e 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 1a9bd0f583..66cf290843 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 4cbc5b1763..4fb1a2f75c 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index cf7e0ce564..75715c1ab6 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 2715bb8a67..0a52a1780f 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 4def40f478..404855497f 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 5380262ad4..dfdb093498 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index ce09dfdc36..dba76642b9 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index eaec547d41..551e385e8e 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 777c1f3444..76ac2b850d 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index aea2c434cc..0718679f89 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 2154cbce92..4b00532913 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 71186b9e9c..d5ba735f99 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 00d20a1c20..0cfb3ee83a 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 425c4b127d..02a0a66f5b 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 365beee73b..07863e4b49 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index e4040ac716..285bcee5fd 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From ab094595882615b67eef0d7e18059df7fa8009f1 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 12 Oct 2022 23:36:28 +0000 Subject: [PATCH 55/70] Set Confluent to 7.3.0, Kafka to 7.3.0. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 8b4c2dfc44..262616c87d 100644 --- a/README.md +++ b/README.md @@ -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.3.0-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.3.0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.3.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.3.0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.3.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.3.0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 8c4d89058a..36159f2938 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.3.x-latest + image: confluentinc/cp-zookeeper:7.3.0 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.3.x-latest + image: confluentinc/cp-enterprise-kafka:7.3.0 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.3.x-latest + image: confluentinc/cp-schema-registry:7.3.0 hostname: schema-registry depends_on: - zookeeper @@ -56,7 +56,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.3.x-latest + image: confluentinc/cp-kafka:7.3.0 depends_on: - kafka hostname: kafka-create-topics @@ -81,7 +81,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.3.x-latest + image: confluentinc/kafka-streams-examples:7.3.0 hostname: kafka-music-data-generator depends_on: - kafka @@ -92,7 +92,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.3.0-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.3.0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -106,7 +106,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.3.x-latest + image: confluentinc/kafka-streams-examples:7.3.0 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 34953b96dd..5140c56662 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.3.0-0, 7.3.1-0) + 7.3.0 kafka-streams-examples jar - 7.3.0-0 + 7.3.0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.3.0-0 + 7.3.0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 514f6a8318..bed8c5856d 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 4765d4356d..77e5135487 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index bfc1aee7cd..370664a1fb 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 2a0dbd6582..97fff6e4ef 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 42c4953e4a..2e37a73c51 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index a327187871..7994b994eb 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index f3c546f267..328c6ffe9f 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 6edb3c72ea..319a1bb55b 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 84c407398d..cf4ae49352 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 0100b8700c..35f52d2d1d 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.3.0-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.3.0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index e5a5c52993..ccd316d88a 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 894aa44d85..d8cc789405 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 542b187c17..58c007ac47 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index bc69496adc..81b18fc0c4 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index dab595c205..e135fb642c 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 1bc0e9442c..638d49b1db 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 4b4f9c36fd..ad526b5a0e 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 057154fe29..e2ba95e407 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 021e017001..e2252c1f62 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index f6118b961a..7ba97eab39 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 47b25109ad..15dda66763 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 2e04061263..717e073525 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index c1c6a39859..f23b159e0d 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 62b508906d..655c2f507f 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 4055fb8614..ad653f037e 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index d66875c20c..3403e22327 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 22a995c910..14119a5c96 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 24f3eb17d184d9309c21d20b0610b4accafd7a98 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 9 Nov 2022 00:03:23 +0000 Subject: [PATCH 56/70] Bump Confluent to 7.3.1-0, Kafka to 7.3.1-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 8b4c2dfc44..0379145e6c 100644 --- a/README.md +++ b/README.md @@ -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.3.0-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.3.1-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.3.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.3.0-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 8c4d89058a..6452713b75 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,7 +92,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.3.0-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.3.1-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 34953b96dd..df5aeeed60 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.3.0-0, 7.3.1-0) + [7.3.1-0, 7.3.2-0) kafka-streams-examples jar - 7.3.0-0 + 7.3.1-0 Confluent, Inc. @@ -66,7 +66,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.3.0-0 + 7.3.1-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 514f6a8318..df3f285d22 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 4765d4356d..058a941570 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index bfc1aee7cd..0cbf3fb89a 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 2a0dbd6582..2e3ddca84e 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 42c4953e4a..60368beb9a 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index a327187871..d92097b762 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index f3c546f267..78fd6c2f03 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 6edb3c72ea..73a980fe0b 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 84c407398d..b72d9cf035 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 0100b8700c..36c32c6495 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.3.0-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index e5a5c52993..55ea9da87b 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 894aa44d85..8e573122b1 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 542b187c17..9bbedca732 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index bc69496adc..2d4bc1afe3 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index dab595c205..c5b6beb656 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 1bc0e9442c..30b1884bc8 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 4b4f9c36fd..557b9f6ebf 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 057154fe29..fde728ed8c 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 021e017001..9ca419d899 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index f6118b961a..ec12ff32a6 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.3.0-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 47b25109ad..3c23970fc0 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 2e04061263..f76f1fd0cc 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index c1c6a39859..3ab1b7396c 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 62b508906d..e06a7b5076 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 4055fb8614..d600f3e91d 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index d66875c20c..c8299e7a64 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 22a995c910..e01e5b3d24 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.3.0-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From a45da8133b512806b6b52bb615420ef78dcd19c9 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Mon, 12 Dec 2022 17:44:44 +0000 Subject: [PATCH 57/70] Set Confluent to 7.2.3, Kafka to 7.2.3. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 595833aa4f..953e734e43 100644 --- a/README.md +++ b/README.md @@ -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.2.3-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.2.3-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.2.3-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.3-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.2.3-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.3-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index e08b733ad0..7d838b3bdc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.2.x-latest + image: confluentinc/cp-zookeeper:7.2.3 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.2.x-latest + image: confluentinc/cp-enterprise-kafka:7.2.3 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.2.x-latest + image: confluentinc/cp-schema-registry:7.2.3 hostname: schema-registry depends_on: - zookeeper @@ -56,7 +56,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.2.x-latest + image: confluentinc/cp-kafka:7.2.3 depends_on: - kafka hostname: kafka-create-topics @@ -81,7 +81,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.2.x-latest + image: confluentinc/kafka-streams-examples:7.2.3 hostname: kafka-music-data-generator depends_on: - kafka @@ -92,7 +92,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.2.3-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.2.3-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -106,7 +106,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.2.x-latest + image: confluentinc/kafka-streams-examples:7.2.3 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index df5b8a661c..71e02bf086 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.2.3-0, 7.2.4-0) + 7.2.3 kafka-streams-examples jar - 7.2.3-0 + 7.2.3 Confluent, Inc. @@ -64,7 +64,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.2.3-0 + 7.2.3 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 9cd3d5fbf2..736975a522 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 809e5cef01..5dc1813f9d 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 18e0cd50fd..df4afaea5b 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 928825883c..60cef538f0 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index db0ae09cdd..1501b46e83 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index d65cf13b51..4db6872955 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 6add0dafb9..26491a854e 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 40e60bea49..d937f01092 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index a732c78fbb..8427f315b1 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index ff2cbf508e..5adcc7bbd7 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.2.3-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.2.3-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index c3b0e1bb4e..ca0ed1c4c1 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 66cf290843..6cddb85616 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 4fb1a2f75c..c07de8ee5f 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 75715c1ab6..d8de272fb0 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 0a52a1780f..fba89bccc1 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 404855497f..dd4dea16f7 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index dfdb093498..bebd9b7998 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index dba76642b9..1b7f8bc51d 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 551e385e8e..747e326896 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 76ac2b850d..32ae4ba1db 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 0718679f89..17e22fc021 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 4b00532913..2703b0b100 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index d5ba735f99..ef83f4f7fa 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 0cfb3ee83a..7d7a50213d 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 02a0a66f5b..5b56f23bfa 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 07863e4b49..24434248d5 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 285bcee5fd..4cfb10b9bb 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.2.3-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 32862636ed376202d7b9b179edf1b77b3f6aa65b Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Mon, 12 Dec 2022 17:46:03 +0000 Subject: [PATCH 58/70] Set Confluent to 7.0.7, Kafka to 7.0.7. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 9dae080924..cea7b412f5 100644 --- a/README.md +++ b/README.md @@ -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.7-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.7-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.7-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.7-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.7-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.7-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index a69f6a306f..19c5961dd4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.0.x-latest + image: confluentinc/cp-zookeeper:7.0.7 hostname: zookeeper ports: - '32181:32181' @@ -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.7 hostname: kafka ports: - '9092:9092' @@ -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.7 hostname: schema-registry depends_on: - zookeeper @@ -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.7 depends_on: - kafka hostname: kafka-create-topics @@ -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.7 hostname: kafka-music-data-generator depends_on: - kafka @@ -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.7-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.7-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -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.7 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index 255fef6fd5..826a0cbd33 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.7-0, 7.0.8-0) + 7.0.7 kafka-streams-examples jar - 7.0.7-0 + 7.0.7 Confluent, Inc. @@ -64,7 +64,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.7-0 + 7.0.7 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index f0a5b0a7dd..b1b317c1fd 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index b8cb464a1d..9f9e168a28 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 8aa8f20296..91e5009cf2 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.7-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index b870cb4543..9d8f97fbf5 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.7-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index e55665233a..8860203fab 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 9752ab94d2..c84eeb898d 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 0d9181234a..276aef9326 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 406c490dd6..5a88f805a2 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 8f42e74748..b73cf54e6c 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index fb3fa05f2c..9ce5088a7e 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.7-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.7-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 5686fe4e78..747a288fad 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.7-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 8a905d86b5..c6d7c58aaf 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 37e6eac5aa..2eeafd69ac 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.7-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index d78ec9cd64..e0f1ca64ef 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index b43a79f8ae..43bae37874 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index a626f09846..da8835bc49 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.7-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 59477355c1..b88a7fa928 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index ee44e655df..a23de1431e 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 0d1459ac7c..266cb47b59 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 4d11a132ee..da9bba8ad4 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 33a0ed64eb..09798789c4 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index fadde9fa2f..e88d28bad3 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index eab54ab06d..1772e61f56 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 46b23a517a..2ebd377c5c 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 6f40c8d4bb..63a95a088a 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 4753632620..e7c0c6ab64 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index a2f87c8d1e..a34189250b 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.7-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 9bac51256679f568e7871103ed020c3d822ce29e Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Mon, 12 Dec 2022 17:47:58 +0000 Subject: [PATCH 59/70] Set Confluent to 7.3.1, Kafka to 7.3.1. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index 0379145e6c..ee2e5c784e 100644 --- a/README.md +++ b/README.md @@ -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.3.1-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.3.1-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.3.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.3.1-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.3.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.3.1-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 6452713b75..80ea1aa0d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.3.x-latest + image: confluentinc/cp-zookeeper:7.3.1 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.3.x-latest + image: confluentinc/cp-enterprise-kafka:7.3.1 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.3.x-latest + image: confluentinc/cp-schema-registry:7.3.1 hostname: schema-registry depends_on: - zookeeper @@ -56,7 +56,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.3.x-latest + image: confluentinc/cp-kafka:7.3.1 depends_on: - kafka hostname: kafka-create-topics @@ -81,7 +81,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.3.x-latest + image: confluentinc/kafka-streams-examples:7.3.1 hostname: kafka-music-data-generator depends_on: - kafka @@ -92,7 +92,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.3.1-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.3.1-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -106,7 +106,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.3.x-latest + image: confluentinc/kafka-streams-examples:7.3.1 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index a6d4c76a5d..1ca93a3488 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.3.1-0, 7.3.2-0) + 7.3.1 kafka-streams-examples jar - 7.3.1-0 + 7.3.1 Confluent, Inc. @@ -64,7 +64,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.3.1-0 + 7.3.1 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index df3f285d22..1d690ac5d4 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 058a941570..62087a5e97 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 0cbf3fb89a..86bff7a7b8 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 2e3ddca84e..b1e7a145f7 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 60368beb9a..7367000908 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index d92097b762..3965b170f1 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 78fd6c2f03..93e6310137 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 73a980fe0b..d12464f857 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index b72d9cf035..a62549d93b 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 36c32c6495..583c77abc3 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.3.1-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.3.1-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 55ea9da87b..304e024e77 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 8e573122b1..6cef618ac9 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 9bbedca732..32897a06a2 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 2d4bc1afe3..d6e9199e36 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index c5b6beb656..0bab6e9df3 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 30b1884bc8..0a3d91c6c5 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 557b9f6ebf..49a7c9ef00 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index fde728ed8c..588a222fbc 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 9ca419d899..3cc128810a 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index ec12ff32a6..413cdd9fdd 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 3c23970fc0..937dc39e10 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index f76f1fd0cc..ddc3a53488 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 3ab1b7396c..e3533fb20a 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index e06a7b5076..0bd85f0823 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index d600f3e91d..690401cc9e 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index c8299e7a64..b15eb082d4 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index e01e5b3d24..e57f4a2e31 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.3.1-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 1720fb64354e5c14299034b872c46027b3df1d3f Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Mon, 12 Dec 2022 17:51:21 +0000 Subject: [PATCH 60/70] Set Confluent to 7.1.5, Kafka to 7.1.5. --- README.md | 6 +++--- docker-compose.yml | 14 +++++++------- pom.xml | 6 +++--- .../streams/AnomalyDetectionLambdaExample.java | 2 +- .../examples/streams/ApplicationResetExample.java | 4 ++-- .../examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/JsonToAvroExample.java | 4 ++-- .../examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../examples/streams/PageViewRegionExample.java | 4 ++-- .../streams/PageViewRegionExampleDriver.java | 2 +- .../streams/PageViewRegionLambdaExample.java | 4 ++-- .../streams/SecureKafkaStreamsExample.java | 2 +- .../examples/streams/SessionWindowsExample.java | 4 ++-- .../streams/SessionWindowsExampleDriver.java | 2 +- .../examples/streams/SumLambdaExample.java | 4 ++-- .../examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index fbd2a52cd1..35b3f7a1bd 100644 --- a/README.md +++ b/README.md @@ -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.1.5-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.1.5-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1.5-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.5-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.5-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.5-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 64ff4a4995..0312cad3e7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '2' services: zookeeper: - image: confluentinc/cp-zookeeper:7.1.x-latest + image: confluentinc/cp-zookeeper:7.1.5 hostname: zookeeper ports: - '32181:32181' @@ -13,7 +13,7 @@ services: - "moby:127.0.0.1" kafka: - image: confluentinc/cp-enterprise-kafka:7.1.x-latest + image: confluentinc/cp-enterprise-kafka:7.1.5 hostname: kafka ports: - '9092:9092' @@ -38,7 +38,7 @@ services: - "moby:127.0.0.1" schema-registry: - image: confluentinc/cp-schema-registry:7.1.x-latest + image: confluentinc/cp-schema-registry:7.1.5 hostname: schema-registry depends_on: - zookeeper @@ -56,7 +56,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.1.x-latest + image: confluentinc/cp-kafka:7.1.5 depends_on: - kafka hostname: kafka-create-topics @@ -81,7 +81,7 @@ services: # Continuously generates input data for the Kafka Music application. kafka-music-data-generator: - image: confluentinc/kafka-streams-examples:7.1.x-latest + image: confluentinc/kafka-streams-examples:7.1.5 hostname: kafka-music-data-generator depends_on: - kafka @@ -92,7 +92,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.1.5-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.1.5-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: @@ -106,7 +106,7 @@ services: # Runs the Kafka Music application. kafka-music-application: - image: confluentinc/kafka-streams-examples:7.1.x-latest + image: confluentinc/kafka-streams-examples:7.1.5 hostname: kafka-music-application depends_on: - kafka diff --git a/pom.xml b/pom.xml index a35624a5ef..5988cdc1ab 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.1.5-0, 7.1.6-0) + 7.1.5 kafka-streams-examples jar - 7.1.5-0 + 7.1.5 Confluent, Inc. @@ -64,7 +64,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.5-0 + 7.1.5 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 36c8707646..5aefe283cb 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 9ac497fb4a..2643e3d193 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index a4c3e848bc..d5b531a058 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 0050b4a14b..59ec9565e5 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index dafa6b6a92..78d12b6f37 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 1668aa06f5..b97a97307f 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 5332c87d10..ab43f394e0 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index dc4d208b4d..bb6222aee1 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index eac230d52b..d9778756b0 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 9831b1d23a..69e0183410 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.5-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.1.5-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 4022180d7a..36f0612aa6 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 0b539f2806..d90ff1be2d 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 12ff290a24..fb7f111850 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index ff179627b2..6badf29bfb 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 278fd532c0..f753234676 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 44822bf4a2..c8ecb047b4 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index a9571ca3eb..5a8ab2830a 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 006e640ae9..97844815b4 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 293fac102b..0f89df97ea 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index a231055260..6e681bc7f1 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 0159801b77..31ec37b93c 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 6f4fa8b4ef..5150864867 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 8a2c2fc1b6..42a2e52bf8 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index b1694aa800..8879b6f691 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 9221c965e7..37b3ac9134 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index c52f0d8520..9f163244ac 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 788be7f4a4..dbe01c7527 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.5-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 6fdacfbd36bcc35413f2815f495e50255680cfdc Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Tue, 27 Dec 2022 23:23:14 +0000 Subject: [PATCH 61/70] Bump Confluent to 5.4.12-SNAPSHOT, Kafka to 5.4.12-SNAPSHOT --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 4 ++-- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/GlobalKTablesExampleDriver.java | 2 +- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 31 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 6f0ca2c887..ea8fdf1123 100644 --- a/README.md +++ b/README.md @@ -320,7 +320,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-5.4.11-SNAPSHOT-standalone.jar +# >>> Creates target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -334,7 +334,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-5.4.11-SNAPSHOT-standalone.jar \ +$ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -349,7 +349,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-5.4.11-SNAPSHOT-standalone.jar \ +$ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 20a36b503c..e349cde64a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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-5.4.11-SNAPSHOT-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 27867fa8b5..81a36b2b6c 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ io.confluent rest-utils-parent - 5.4.11-SNAPSHOT + 5.4.12-SNAPSHOT kafka-streams-examples @@ -54,7 +54,7 @@ false false 1.8 - 5.4.11-SNAPSHOT + 5.4.12-SNAPSHOT UTF-8 ${kafka.scala.version}.8 3.0.5 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 9e276623db..dcfa388388 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 867bd5cdbe..0242651354 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index d071e1f13d..fd4414dde7 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -72,7 +72,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesExampleDriver}). The @@ -82,7 +82,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-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExampleDriver + * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExampleDriver.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExampleDriver.java index 43835886f2..b1b9548de5 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExampleDriver.java @@ -56,7 +56,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExampleDriver
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 97cbf99cd0..4521014902 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -56,7 +56,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -67,7 +67,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-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 5932312183..146a2b550c 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -48,7 +48,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 9aab47bd71..eed5872997 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index a17be526c6..7d917e1261 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -79,7 +79,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -89,7 +89,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-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 7dbdc59e3a..d6e58c332c 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 45adcd06b0..bc8abf117c 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index af06e6b745..80c84caab4 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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-5.4.11-SNAPSHOT-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 4d05500e46..a74b3487f0 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index d2798ea312..5e5f4f3e07 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 3c6ee5c5e0..5bc542d29a 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index c9372ab1c6..0fce379f77 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -41,7 +41,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index f2243d122c..1b6ed0b5e7 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 44b07a1325..8c30e8e29f 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index a67ac218d3..c84f853d08 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index b3748eabe3..f407626b26 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 25adb73915..d00430177c 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -46,7 +46,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 6973741e55..344b20992a 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 5bd9299916..4fda1f0c93 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 5b7823d4ae..183121048b 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index e01b56f4bc..cb8da5be16 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index b8957317af..cf2ea453f6 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index d1fa9734f9..f65961b907 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 1a81edddb7..4e063dcddd 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index cd943fc67f..d15cfaed35 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-5.4.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-5.4.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 06a43b88adbad802bbca8a81d9546703fa1a30e4 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 28 Dec 2022 00:50:49 +0000 Subject: [PATCH 62/70] Bump Confluent to 5.5.14-SNAPSHOT, Kafka to 5.5.14-SNAPSHOT --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 4 ++-- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../examples/streams/GlobalKTablesExampleDriver.java | 2 +- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 31 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 4874fba8e9..200d133125 100644 --- a/README.md +++ b/README.md @@ -320,7 +320,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-5.5.13-SNAPSHOT-standalone.jar +# >>> Creates target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -334,7 +334,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-5.5.13-SNAPSHOT-standalone.jar \ +$ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -349,7 +349,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-5.5.13-SNAPSHOT-standalone.jar \ +$ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index c59faef398..5f6fe26ba4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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-5.5.13-SNAPSHOT-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 34bb018e24..4a077507ac 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ io.confluent rest-utils-parent - 5.5.13-SNAPSHOT + 5.5.14-SNAPSHOT kafka-streams-examples @@ -54,7 +54,7 @@ false false 1.8 - 5.5.13-SNAPSHOT + 5.5.14-SNAPSHOT UTF-8 ${kafka.scala.version}.8 3.0.5 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 12841f5e67..545e1f346c 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 2e2603a95b..01f3db561c 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 8a777d3ac0..f53f62c9d3 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -72,7 +72,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesExampleDriver}). The @@ -82,7 +82,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-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExampleDriver + * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExampleDriver.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExampleDriver.java index a883cc23c7..3a7346c57b 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExampleDriver.java @@ -56,7 +56,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExampleDriver
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 2c1bc0a643..fc73c28bde 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 0db0824a56..649613d617 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 70a653d6f3..0cfc1b4514 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 4752d63e1d..665c923682 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -79,7 +79,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -89,7 +89,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-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index ce6fa4253e..9fc1cf6f5d 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 4755ac953c..a42b2effbe 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 1fd973f321..0cd4024978 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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-5.5.13-SNAPSHOT-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 4e45d2b26c..a6406eee66 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 15b01305a0..d140577db3 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 37fc08c411..e4e09a1723 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 714d108c53..25b1b2cc07 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -41,7 +41,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 683e2c1e94..7a18e34883 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 9c859ea1f9..f72b7ce238 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index e45540647d..3b18c8df1d 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index f021cc50d2..6131d12b38 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index ac4cef5566..b2f41e0168 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -46,7 +46,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 4ca77a08b4..98f04f916c 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index d55c657bb0..2eabf2a86d 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 988f7b04be..5eba82a8f9 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index efe998177a..a519f5f7f0 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 95a479f22e..b2595d804e 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 2317e307c7..87934a6e05 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index a464fecaa2..ff0b4f1fa7 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 4fbefc7ac5..5357595ee9 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-5.5.13-SNAPSHOT-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-5.5.14-SNAPSHOT-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 3b77a1033c375469e8bbbc976faf1bc3ca4fc677 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 28 Dec 2022 01:59:58 +0000 Subject: [PATCH 63/70] Bump Confluent to 6.0.12-SNAPSHOT, Kafka to 6.0.12-SNAPSHOT --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 4 ++-- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 45 insertions(+), 45 deletions(-) diff --git a/README.md b/README.md index 2a6fbb26a3..a841a16d3f 100644 --- a/README.md +++ b/README.md @@ -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-6.0.11-SNAPSHOT-standalone.jar +# >>> Creates target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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-6.0.11-SNAPSHOT-standalone.jar \ +$ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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-6.0.11-SNAPSHOT-standalone.jar \ +$ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 19f5955b80..68f359f7cd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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-6.0.11-SNAPSHOT-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 9ca292af1a..f051940495 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ io.confluent rest-utils-parent - 6.0.11-SNAPSHOT + 6.0.12-SNAPSHOT kafka-streams-examples @@ -54,7 +54,7 @@ false false 1.8 - 6.0.11-SNAPSHOT + 6.0.12-SNAPSHOT UTF-8 3.1.2 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index e9ef9a6e60..3b73173e9b 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index bccd6261dc..802943e77e 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index ec89b9b98c..f19a48696d 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index cecff24db0..a26323fd5d 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 93d27ec80a..88abcd2520 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 63229c6b3a..a0ca007cc9 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index fe75948485..249160fee9 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -79,7 +79,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -89,7 +89,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-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 2afad45ef1..90bd97ec9f 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 9784eee1eb..1d1e2f194c 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 690c3cfbc4..c290782689 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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-6.0.11-SNAPSHOT-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 722526aeb9..13ec995e7d 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index f138e6628d..42a90f9782 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 67781503f3..97a9a236f0 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index c905dc941f..8c71d7a33d 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -41,7 +41,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 9eb60d28d5..df7e559df1 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index d1c8cf71d2..dd5ccd5279 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index c4572e0b88..fc0ae8413d 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 7c7476e913..52bd46546c 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index b7bb99fb68..4727e5d7a6 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -46,7 +46,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index a4f5553a2f..848076a743 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index db745e8280..ae981fb542 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 9e33d894b1..251343fd42 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index f3eb0e17fc..d9e9dcb1d2 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index dfb96bebdc..86e8c7e07d 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 5988f8dc46..e92826ed68 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 4ec5a5cf13..1baaebd3e1 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 5d6ce22efa..f6b5d786de 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 93e4fa93df184cd6da1459da5054880f8840517f Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 28 Dec 2022 03:00:32 +0000 Subject: [PATCH 64/70] Bump Confluent to 6.1.10-0, Kafka to 6.1.10-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 61c81d41a8..dfe1852248 100644 --- a/README.md +++ b/README.md @@ -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-6.1.9-0-standalone.jar +# >>> Creates target/kafka-streams-examples-6.1.10-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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-6.1.9-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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-6.1.9-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 25a65071b1..6d2fcf7d91 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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-6.1.9-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-6.1.10-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index d19eb9278f..71a826ca48 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [6.1.9-0, 6.1.10-0) + [6.1.10-0, 6.1.11-0) kafka-streams-examples jar - 6.1.9-0 + 6.1.10-0 Confluent, Inc. @@ -64,7 +64,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 6.1.9-0 + 6.1.10-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index defbb8c9ff..8eaf0aaba4 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 82e5654067..d92de7e21d 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index d3bb57241c..6f4fa34f32 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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-6.1.9-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index f020c871a5..921579d67a 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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-6.1.9-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 061c9dc06c..ff76b1988b 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 1b5e7c140e..36f0bbeaea 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index b93797a9f6..55cb6e0c8f 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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-6.1.9-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 8f35c9e733..a4f77ba977 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 0494023c71..cada129f93 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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-6.1.9-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index acdcc27903..2f638825eb 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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-6.1.9-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index d9b53831b0..d599db9dfe 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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-6.1.9-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index c5aeffb76b..52f628b92e 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 2c5f5a2400..607abc2c86 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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-6.1.9-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 812de0c830..a02719bb18 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -41,7 +41,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 418335aa44..8663fac88e 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 6b618d636a..7358814758 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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-6.1.9-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 02041c476f..4b6016c35c 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index c3d39f2601..302f401045 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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-6.1.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 714fd88495..0d4da6504e 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index f7651b37c5..be05db8406 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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-6.1.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 6cd1b96004..9b2ca6a3ef 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index dd1bf7565e..378f583bef 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 5a330cda0c..e36af4a0fb 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index a4be8e172d..ef5f3f5f7d 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index abedbc777b..86dc41611d 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 45edebe4c1..cbc11443f2 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 6910ee80df..ea16a227b5 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-6.1.10-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 59ccede64500e2a22dddf2b82e61d0d91cc5d583 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 28 Dec 2022 04:01:03 +0000 Subject: [PATCH 65/70] Bump Confluent to 6.2.9-0, Kafka to 6.2.9-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 2e3ed3dfaf..6ea9d0d1de 100644 --- a/README.md +++ b/README.md @@ -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-6.2.8-0-standalone.jar +# >>> Creates target/kafka-streams-examples-6.2.9-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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-6.2.8-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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-6.2.8-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index aac025cff8..cb2e3158a9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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-6.2.8-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-6.2.9-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index c4dc195cea..e1b8552885 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [6.2.8-0, 6.2.9-0) + [6.2.9-0, 6.2.10-0) kafka-streams-examples jar - 6.2.8-0 + 6.2.9-0 Confluent, Inc. @@ -64,7 +64,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 6.2.8-0 + 6.2.9-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 5bf81bf24f..a5638a3594 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 1ac37126f4..efa9d6e72a 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 169d977427..cdaf5c9b5d 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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-6.2.8-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 49f501348b..ca65a2b5b4 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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-6.2.8-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index a13d1186c3..933038cf78 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index a9bd2bbb28..d140603049 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 2f80f147f7..b21976080b 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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-6.2.8-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index fa407ecfa3..f5a7cc510c 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 442a8cfdc7..a4b35882f9 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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-6.2.8-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index ea12f6826b..9284b6b63c 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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-6.2.8-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 5d372d9d6b..fcb8d3b0c0 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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-6.2.8-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index ea4c13603c..74aae7972c 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 85a0695bc7..2bb1e78205 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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-6.2.8-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index e446e65662..2a7dd65332 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -41,7 +41,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index bd26aa4aab..2cfe547f8e 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 8ac9287860..a0625f885c 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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-6.2.8-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index c5453fbcd0..d4ead87406 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 3123021313..b15799b492 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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-6.2.8-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 7ea24c5d26..a2a6860fcc 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index da60fa734d..d326c12f19 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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-6.2.8-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index bfd32e9893..bbd01f92b0 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 56826d91c4..2481d3d5ac 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index d608db04a6..ff2982f9b2 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index b2bb30dcd1..a63d593467 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index b566c51892..2183b8f5f0 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 4f28d352f0..57312c9943 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index eb522c20bb..38bdf980d0 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-6.2.8-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-6.2.9-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 79e726cb3483e4e5af0608908cf123f94839133b Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 28 Dec 2022 04:59:21 +0000 Subject: [PATCH 66/70] Bump Confluent to 7.0.8-0, Kafka to 7.0.8-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 9dae080924..2fc9a96c48 100644 --- a/README.md +++ b/README.md @@ -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.7-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.0.8-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.7-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.7-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index a69f6a306f..ac9f540af1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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.7-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.0.8-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index 255fef6fd5..2a0ed6fad6 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.0.7-0, 7.0.8-0) + [7.0.8-0, 7.0.9-0) kafka-streams-examples jar - 7.0.7-0 + 7.0.8-0 Confluent, Inc. @@ -64,7 +64,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.0.7-0 + 7.0.8-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index f0a5b0a7dd..5ad0610812 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index b8cb464a1d..c62ba62979 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 8aa8f20296..9478d44c2e 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.7-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index b870cb4543..e1e4fe12ab 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.7-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index e55665233a..f88da127bf 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 9752ab94d2..c231c04863 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 0d9181234a..dd5065e889 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 406c490dd6..4913f2550d 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index 8f42e74748..8464197939 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.7-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index fb3fa05f2c..5fba8c9cb7 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.7-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 5686fe4e78..e77243c1da 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.7-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 8a905d86b5..5aadff95df 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 37e6eac5aa..1d9dda657d 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.7-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index d78ec9cd64..f76a0c6d61 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index b43a79f8ae..4d34af96c2 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index a626f09846..0402e2d55f 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.7-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 59477355c1..43791e727f 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index ee44e655df..854927605d 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 0d1459ac7c..818a6459b7 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 4d11a132ee..40c4ccd2e1 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 33a0ed64eb..6b7e6e3b82 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index fadde9fa2f..1f678cf4d3 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index eab54ab06d..f05d459e36 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 46b23a517a..80ac52e102 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 6f40c8d4bb..e75b9825b1 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 4753632620..b67c83bf2f 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index a2f87c8d1e..13f50aa3ba 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.0.7-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.0.8-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 8a992fe7615652fe17bd99cb5d98497fbfdc07f7 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 28 Dec 2022 05:53:32 +0000 Subject: [PATCH 67/70] Bump Confluent to 7.1.6-0, Kafka to 7.1.6-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index fbd2a52cd1..f46f7ab9c8 100644 --- a/README.md +++ b/README.md @@ -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.1.5-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.1.6-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.1.5-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.1.5-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 64ff4a4995..aae935bf84 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,7 +92,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.1.5-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.1.6-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index a35624a5ef..472f46ce7a 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.1.5-0, 7.1.6-0) + [7.1.6-0, 7.1.7-0) kafka-streams-examples jar - 7.1.5-0 + 7.1.6-0 Confluent, Inc. @@ -64,7 +64,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.1.5-0 + 7.1.6-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 36c8707646..243934bc17 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 9ac497fb4a..ea2d27ff7b 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index a4c3e848bc..8215c9bc0d 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 0050b4a14b..d52baf02b4 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index dafa6b6a92..da56b061b4 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index 1668aa06f5..b6470c32b8 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 5332c87d10..d43c0a93d3 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index dc4d208b4d..7630324587 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index eac230d52b..adbf3c003e 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 9831b1d23a..07d92b2b1a 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.1.5-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 4022180d7a..f043e3d85d 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 0b539f2806..4b843c8bb3 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 12ff290a24..9d36cc6c4d 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index ff179627b2..54bb8eab65 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 278fd532c0..9cf3f61b6b 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 44822bf4a2..a14ffc7fc4 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index a9571ca3eb..ed83d3e5ca 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index 006e640ae9..b961b46295 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 293fac102b..748b7bf250 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index a231055260..2a3361e1aa 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.1.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 0159801b77..6c31861faf 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 6f4fa8b4ef..6cfc7ef59b 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 8a2c2fc1b6..21724fc470 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index b1694aa800..44aa0ec8e0 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 9221c965e7..7f4f58dd4c 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index c52f0d8520..a50e362caf 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 788be7f4a4..44df9ef614 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.1.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.1.6-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From ffe962ae53b725396b9b632be7595cde0ee5cfa8 Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 28 Dec 2022 06:46:54 +0000 Subject: [PATCH 68/70] Bump Confluent to 7.2.4-0, Kafka to 7.2.4-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 595833aa4f..ea6fd70d87 100644 --- a/README.md +++ b/README.md @@ -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.2.3-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.2.4-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.2.3-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.2.3-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index e08b733ad0..e0780e5414 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,7 +92,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.2.3-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.2.4-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index df5b8a661c..290f61cd4e 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.2.3-0, 7.2.4-0) + [7.2.4-0, 7.2.5-0) kafka-streams-examples jar - 7.2.3-0 + 7.2.4-0 Confluent, Inc. @@ -64,7 +64,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.2.3-0 + 7.2.4-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index 9cd3d5fbf2..c521f8c50b 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 809e5cef01..0942f3261b 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 18e0cd50fd..bf8c3df7c3 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 928825883c..884c822210 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index db0ae09cdd..7aac90c991 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index d65cf13b51..2b08c43d76 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 6add0dafb9..6782dd799f 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 40e60bea49..4da1427536 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index a732c78fbb..8e2021ebea 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index ff2cbf508e..48ad92f5e8 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.2.3-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index c3b0e1bb4e..85ae93f3b1 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 66cf290843..ad7cb75d62 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 4fb1a2f75c..4e0de16d09 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 75715c1ab6..2c91fd1d04 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index 0a52a1780f..cb7ac12a07 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 404855497f..c63ba22669 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index dfdb093498..88c50f58af 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index dba76642b9..b03b71b1d6 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 551e385e8e..49a9c31934 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index 76ac2b850d..0adfd79fef 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.2.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 0718679f89..162612ef0e 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index 4b00532913..982a6ac223 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index d5ba735f99..f6b6fed89b 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index 0cfb3ee83a..55fdfa16b6 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index 02a0a66f5b..fbd2417850 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index 07863e4b49..17e5ba0ae5 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index 285bcee5fd..e4f018f8a8 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.2.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.2.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 9f703628a2ad75171f638bed6496e282c905090d Mon Sep 17 00:00:00 2001 From: Confluent Jenkins Bot Date: Wed, 28 Dec 2022 07:37:03 +0000 Subject: [PATCH 69/70] Bump Confluent to 7.3.2-0, Kafka to 7.3.2-0 --- README.md | 6 +++--- docker-compose.yml | 2 +- pom.xml | 6 +++--- .../examples/streams/AnomalyDetectionLambdaExample.java | 2 +- .../confluent/examples/streams/ApplicationResetExample.java | 4 ++-- .../io/confluent/examples/streams/GlobalKTablesExample.java | 4 ++-- .../io/confluent/examples/streams/JsonToAvroExample.java | 4 ++-- .../confluent/examples/streams/JsonToAvroExampleDriver.java | 2 +- .../examples/streams/MapFunctionLambdaExample.java | 2 +- .../confluent/examples/streams/PageViewRegionExample.java | 4 ++-- .../examples/streams/PageViewRegionExampleDriver.java | 2 +- .../examples/streams/PageViewRegionLambdaExample.java | 4 ++-- .../examples/streams/SecureKafkaStreamsExample.java | 2 +- .../confluent/examples/streams/SessionWindowsExample.java | 4 ++-- .../examples/streams/SessionWindowsExampleDriver.java | 2 +- .../io/confluent/examples/streams/SumLambdaExample.java | 4 ++-- .../confluent/examples/streams/SumLambdaExampleDriver.java | 2 +- .../examples/streams/TopArticlesExampleDriver.java | 2 +- .../examples/streams/TopArticlesLambdaExample.java | 4 ++-- .../confluent/examples/streams/UserRegionLambdaExample.java | 2 +- .../examples/streams/WikipediaFeedAvroExample.java | 4 ++-- .../examples/streams/WikipediaFeedAvroExampleDriver.java | 2 +- .../examples/streams/WikipediaFeedAvroLambdaExample.java | 4 ++-- .../confluent/examples/streams/WordCountLambdaExample.java | 2 +- .../WordCountInteractiveQueriesDriver.java | 2 +- .../WordCountInteractiveQueriesExample.java | 4 ++-- .../interactivequeries/kafkamusic/KafkaMusicExample.java | 4 ++-- .../kafkamusic/KafkaMusicExampleDriver.java | 2 +- .../examples/streams/MapFunctionScalaExample.scala | 2 +- .../confluent/examples/streams/WordCountScalaExample.scala | 2 +- 30 files changed, 46 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 0379145e6c..cb0a0fbf30 100644 --- a/README.md +++ b/README.md @@ -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.3.1-0-standalone.jar +# >>> Creates target/kafka-streams-examples-7.3.2-0-standalone.jar ``` > Tip: If needed, you can disable the test suite during packaging, for example to speed up the packaging or to lower @@ -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.3.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar \ io.confluent.examples.streams.WordCountLambdaExample ``` @@ -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.3.1-0-standalone.jar \ +$ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar \ -Dlog4j.configuration=file:src/main/resources/log4j.properties \ io.confluent.examples.streams.WordCountLambdaExample ``` diff --git a/docker-compose.yml b/docker-compose.yml index 6452713b75..0014a1032f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,7 +92,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.3.1-0-standalone.jar \ + java -cp /usr/share/java/kafka-streams-examples/kafka-streams-examples-7.3.2-0-standalone.jar \ io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver \ kafka:29092 http://schema-registry:8081'" environment: diff --git a/pom.xml b/pom.xml index a6d4c76a5d..2351e41534 100644 --- a/pom.xml +++ b/pom.xml @@ -7,12 +7,12 @@ io.confluent rest-utils-parent - [7.3.1-0, 7.3.2-0) + [7.3.2-0, 7.3.3-0) kafka-streams-examples jar - 7.3.1-0 + 7.3.2-0 Confluent, Inc. @@ -64,7 +64,7 @@ ${project.version}-${docker.os_type} ${confluent.version.range} ${confluent.version.range} - 7.3.1-0 + 7.3.2-0 diff --git a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java index df3f285d22..9b459339f8 100644 --- a/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample
  * }
*

* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already diff --git a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java index 058a941570..0982105077 100644 --- a/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java +++ b/src/main/java/io/confluent/examples/streams/ApplicationResetExample.java @@ -59,7 +59,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). @@ -114,7 +114,7 @@ * Thus, restart the application via: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset
  * }
* 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". diff --git a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java index 0cbf3fb89a..ac80b0d818 100644 --- a/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java +++ b/src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java @@ -76,7 +76,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver * } * *

diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java index 2e3ddca84e..9543747787 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExample.java @@ -57,7 +57,7 @@ * Once packaged you can then run: *

  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java index 60368beb9a..0dc3296f29 100644 --- a/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java index d92097b762..a456e20bb5 100644 --- a/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java @@ -60,7 +60,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java index 78fd6c2f03..2a00dc645b 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java @@ -78,7 +78,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java index 73a980fe0b..9758da1cf4 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionExampleDriver.java @@ -49,7 +49,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java index b72d9cf035..d6650462f9 100644 --- a/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java @@ -75,7 +75,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver * } * * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java index 36c32c6495..8c12232485 100644 --- a/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java +++ b/src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java @@ -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.3.1-0-standalone.jar \ + * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar \ * io.confluent.examples.streams.SecureKafkaStreamsExample * } * diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java index 55ea9da87b..fa4a5c8560 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExample.java @@ -70,7 +70,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver * } * * You should see output data similar to: diff --git a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java index 8e573122b1..36ea4d7277 100644 --- a/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver
  * }
  * 
*/ diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java index 9bbedca732..7816b9a569 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExample.java @@ -53,7 +53,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExample
  * }
  * 
* 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver * } * * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}. diff --git a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java index 2d4bc1afe3..53aa8e3ed3 100644 --- a/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/SumLambdaExampleDriver.java @@ -42,7 +42,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver
  * }
  * 
* You should terminate with {@code Ctrl-C}. diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java index c5b6beb656..35f5158a28 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java @@ -52,7 +52,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java index 30b1884bc8..099e0c25b0 100644 --- a/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java @@ -81,7 +81,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}). @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java index 557b9f6ebf..9301e586e1 100644 --- a/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java @@ -54,7 +54,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java index fde728ed8c..c86c11d429 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java @@ -58,7 +58,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java index 9ca419d899..453be3b210 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java @@ -45,7 +45,7 @@ * Once packaged you can then run: *
  * {@code
- * java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
+ * java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver
  * }
  * 
* diff --git a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java index ec12ff32a6..3945d07df1 100644 --- a/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java @@ -55,7 +55,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample
  * }
  * 
* 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}). @@ -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.3.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver + * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver * } * */ diff --git a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java index 3c23970fc0..611fd74987 100644 --- a/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java +++ b/src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java @@ -62,7 +62,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample
  * }
  * 
* 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via {@code kafka-console-producer}). diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java index f76f1fd0cc..12346ebe2f 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java @@ -36,7 +36,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver
  * }
  * 
* You should terminate with Ctrl-C diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java index 3ab1b7396c..9038e1502c 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java @@ -83,7 +83,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070
  * }
  * 
@@ -94,7 +94,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java index e06a7b5076..be2e25b3b2 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java @@ -110,7 +110,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070
  * }
  * 
@@ -121,7 +121,7 @@ * *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7071
  * }
  * 
diff --git a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java index d600f3e91d..8c5c0bb614 100644 --- a/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java +++ b/src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java @@ -50,7 +50,7 @@ * Once packaged you can then run: *
  * {@code
- * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar \
+ * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar \
  *      io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver
  * }
  * 
diff --git a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala index c8299e7a64..436da01d3c 100644 --- a/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/MapFunctionScalaExample.scala @@ -54,7 +54,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample + * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.MapFunctionScalaExample * }}} * * 4) Write some input data to the source topics (e.g. via `kafka-console-producer`. The already diff --git a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala index e01e5b3d24..0ad2f82b7d 100644 --- a/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala +++ b/src/main/scala/io/confluent/examples/streams/WordCountScalaExample.scala @@ -41,7 +41,7 @@ import org.apache.kafka.streams.{KafkaStreams, StreamsConfig} * Once packaged you can then run: * * {{{ - * $ java -cp target/kafka-streams-examples-7.3.1-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample + * $ java -cp target/kafka-streams-examples-7.3.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample * }}} * * 4) Write some input data to the source topic "streams-plaintext-input" (e.g. via `kafka-console-producer`). From 9e17e168788985bd03f079be7939eb7355e5ea0d Mon Sep 17 00:00:00 2001 From: Sergey Shcherbakov Date: Fri, 26 Nov 2021 00:03:03 +0100 Subject: [PATCH 70/70] Stream reorder example. Issue #179 --- .../streams/ReorderIntegrationTest.java | 239 ++++++++++++++++++ 1 file changed, 239 insertions(+) create mode 100644 src/test/java/io/confluent/examples/streams/ReorderIntegrationTest.java diff --git a/src/test/java/io/confluent/examples/streams/ReorderIntegrationTest.java b/src/test/java/io/confluent/examples/streams/ReorderIntegrationTest.java new file mode 100644 index 0000000000..61aa3bec68 --- /dev/null +++ b/src/test/java/io/confluent/examples/streams/ReorderIntegrationTest.java @@ -0,0 +1,239 @@ +/* + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.confluent.examples.streams; + +import org.apache.kafka.clients.consumer.ConsumerRecord; +import org.apache.kafka.common.serialization.LongDeserializer; +import org.apache.kafka.common.serialization.LongSerializer; +import org.apache.kafka.common.serialization.Serdes; +import org.apache.kafka.streams.*; +import org.apache.kafka.streams.kstream.KStream; +import org.apache.kafka.streams.kstream.Named; +import org.apache.kafka.streams.kstream.Transformer; +import org.apache.kafka.streams.processor.ProcessorContext; +import org.apache.kafka.streams.processor.PunctuationType; +import org.apache.kafka.streams.processor.TimestampExtractor; +import org.apache.kafka.streams.state.KeyValueIterator; +import org.apache.kafka.streams.state.KeyValueStore; +import org.apache.kafka.streams.state.StoreBuilder; +import org.apache.kafka.streams.state.Stores; +import org.junit.Test; + +import java.text.ParseException; +import java.time.Duration; +import java.time.Instant; +import java.util.Arrays; +import java.util.List; +import java.util.Properties; + +import static java.time.temporal.ChronoUnit.HOURS; +import static org.hamcrest.CoreMatchers.equalTo; +import static org.hamcrest.MatcherAssert.assertThat; + +/** + * End-to-end integration test that demonstrates how to reorder the stream of incoming messages + * by the timestamp embedded in the message payload. + *

+ * Makes sense only on per partition basis. + *

+ * Reordering occurs within the time windows defined by the {@code grace} constructor parameter. + * + * Note: This example uses lambda expressions and thus works with Java 8+ only. + */ +public class ReorderIntegrationTest { + + public static class ReorderTransformer + implements Transformer> { + + public interface StoreKeyGenerator { + K getStoreKey(K key, V val); + } + + private final String storeName; + private final Duration grace; + private KeyValueStore reorderStore; + private ProcessorContext context; + private final StoreKeyGenerator storeKeyGenerator; + + public ReorderTransformer(final String storeName, final Duration grace, + final StoreKeyGenerator storeKeyGenerator) { + this.storeName = storeName; + this.grace = grace; + this.storeKeyGenerator = storeKeyGenerator; + } + + @Override + public void init(final ProcessorContext context) { + this.reorderStore = context.getStateStore(this.storeName); + this.context = context; + context.schedule( + this.grace, + PunctuationType.STREAM_TIME, + this::punctuate + ); + } + + /** + * 1) read the timestamp from the message value + * 2) inserts into a KeyValueStore using (timestamp, message-key) pair + * as the key and the message-value as the value, this also provides + * de-duplication. + * + * @param key + * @param value + * @return + */ + @Override + public KeyValue transform(final K key, final V value) { + // Keys need to contain and be sortable by time + final K storeKey = storeKeyGenerator.getStoreKey(key, value); + final V storeValue = reorderStore.get(storeKey); + if(storeValue == null) { + reorderStore.put(storeKey, value); + } + return null; // null suppresses sending to downstream + } + + /** + * Scheduled to be called automatically when the period + * within which message reordering occurs expires. + * + * Outputs downstream accumulated records sorted by their timestamp. + * + * 1) read the entire store + * 2) send the fetched messages in order using context.forward() and delete + * them from the store + * + * @param timestamp – stream time of the punctuate function call + */ + void punctuate(final long timestamp) { + try(KeyValueIterator it = reorderStore.all()) { + while (it.hasNext()) { + final KeyValue kv = it.next(); + context.forward(kv.key, kv.value); + reorderStore.delete(kv.key); + } + } + } + + @Override + public void close() { + } + } + + + public static class TestTimestampExtractor implements TimestampExtractor { + @Override + public long extract(final ConsumerRecord record, final long partitionTime) { + return (long) record.value(); + } + } + + private static long ts(final String timeString) throws ParseException { + return Instant.parse(timeString).toEpochMilli(); + } + + @Test + public void shouldReorderTheInput() throws ParseException { + + // Input not ordered by time + final List inputValues = Arrays.asList( + ts("2021-11-03T23:00:00Z"), // stream time calibration + ts("2021-11-04T01:05:00Z"), // 10 hours interval border is at "2021-11-04T00:00:00Z" + ts("2021-11-04T01:10:00Z"), + ts("2021-11-04T01:40:00Z"), + ts("2021-11-04T02:25:00Z"), + ts("2021-11-04T01:20:00Z"), + ts("2021-11-04T02:45:00Z"), + ts("2021-11-04T02:00:00Z"), + ts("2021-11-04T03:00:00Z"), + ts("2021-11-04T02:40:00Z"), + ts("2021-11-04T02:20:00Z"), // 10 hours interval border is at "2021-11-04T10:00:00Z" + ts("2021-11-05T00:00:00Z") // stream time calibration + ); + + // Expected ordered by time + final List expectedValues = Arrays.asList( + ts("2021-11-03T23:00:00Z"), // stream time calibration + ts("2021-11-04T01:05:00Z"), + ts("2021-11-04T01:10:00Z"), + ts("2021-11-04T01:20:00Z"), + ts("2021-11-04T01:40:00Z"), + ts("2021-11-04T02:00:00Z"), + ts("2021-11-04T02:20:00Z"), + ts("2021-11-04T02:25:00Z"), + ts("2021-11-04T02:40:00Z"), + ts("2021-11-04T02:45:00Z"), + ts("2021-11-04T03:00:00Z"), + ts("2021-11-05T00:00:00Z") // stream time calibration + ); + + // + // Step 1: Configure and start the processor topology. + // + final StreamsBuilder builder = new StreamsBuilder(); + + final Properties streamsConfiguration = new Properties(); + streamsConfiguration.put(StreamsConfig.APPLICATION_ID_CONFIG, "reorder-integration-test"); + streamsConfiguration.put(StreamsConfig.BOOTSTRAP_SERVERS_CONFIG, "dummy config"); + streamsConfiguration.put(StreamsConfig.DEFAULT_KEY_SERDE_CLASS_CONFIG, Serdes.String().getClass().getName()); + streamsConfiguration.put(StreamsConfig.DEFAULT_VALUE_SERDE_CLASS_CONFIG, Serdes.Long().getClass().getName()); + streamsConfiguration.put(StreamsConfig.DEFAULT_TIMESTAMP_EXTRACTOR_CLASS_CONFIG, TestTimestampExtractor.class.getName()); + + final String inputTopic = "inputTopic"; + final String outputTopic = "outputTopic"; + final String persistentStore = "reorderStore"; + final String transformerName = "reorderTransformer"; + + final StoreBuilder> countStoreSupplier = + Stores.keyValueStoreBuilder( + Stores.persistentKeyValueStore(persistentStore), + Serdes.String(), + Serdes.Long()); + + final KStream stream = builder.stream(inputTopic); + final KStream reordered = stream + .transform(() -> new ReorderTransformer<>(persistentStore, + Duration.of(10, HOURS), (k,v) -> String.format("key-%d", v)), + Named.as(transformerName)); + reordered.to(outputTopic); + + final Topology topology = builder.build(); + topology.addStateStore(countStoreSupplier, transformerName); + + try (final TopologyTestDriver topologyTestDriver = new TopologyTestDriver(topology, streamsConfiguration)) { + // + // Step 2: Setup input and output topics. + // + final TestInputTopic input = topologyTestDriver + .createInputTopic(inputTopic, + new Serdes.StringSerde().serializer(), + new LongSerializer()); + final TestOutputTopic output = topologyTestDriver + .createOutputTopic(outputTopic, + new Serdes.StringSerde().deserializer(), + new LongDeserializer()); + + // + // Step 3: Produce some input data to the input topic. + // + input.pipeValueList(inputValues); + + // + // Step 4: Verify the application's output data. + // + assertThat(output.readValuesToList(), equalTo(expectedValues)); + } + } +} \ No newline at end of file