repository
stringclasses
549 values
merge
stringlengths
40
40
parent_a
stringlengths
40
40
parent_b
stringlengths
40
40
path
stringlengths
13
252
conflict_in_file
int64
0
330
conflicts_in_file
int64
1
382
before
listlengths
0
20
side_a
listlengths
0
30
base
listlengths
0
1.67k
⌀
side_b
listlengths
0
30
after
listlengths
0
20
answer
listlengths
0
62
windows_line_endings
bool
2 classes
id
stringlengths
16
16
labels
listlengths
0
41
⌀
kind
stringclasses
8 values
tags
dict
licence
stringclasses
4 values
confluentinc/kafka-streams-examples
c12445a61e4a04fe4f90ab6b06b6fca1970d1dbd
a02bc0f02091a097c2de206dfbdf9c75bd65b072
af7bc6671cf874a9bc38c4a4a9f8047e4ff8e0d9
src/main/java/io/confluent/examples/streams/JsonToAvroExample.java
0
2
[ " * TO RUN THIS EXAMPLE <p> 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please refer\n", " * to\n", " * <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>. <p> 2)\n", " * Create the input/intermediate/output topics used by this example.\n", " * <pre>\n", " *...
[ " * $ java -cp target/kafka-streams-examples-7.9.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.8.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.4.10-0-standalone.ja...
[ " * $ java -cp target/kafka-streams-examples-7.8.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic. The {@link JsonToAvroExampleDriver} wi...
[ " * $ java -cp target/kafka-streams-examples-7.9.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample\n" ]
false
ef079030bb800341
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
c12445a61e4a04fe4f90ab6b06b6fca1970d1dbd
a02bc0f02091a097c2de206dfbdf9c75bd65b072
af7bc6671cf874a9bc38c4a4a9f8047e4ff8e0d9
src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java
0
2
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please refer to <a href=\"http://docs.confluent.io/current/quickstart.html#quickstart\">QuickStart</a>.\n", " * <p>\n", " * 2) Create the input/intermediate/output topics used by this example.\n", " *...
[ " * $ java -cp target/kafka-streams-examples-7.9.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.8.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.4.10-0-standa...
[ " * $ java -cp target/kafka-streams-examples-7.8.3-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link TopArticlesExampleDriver} ...
[ " * $ java -cp target/kafka-streams-examples-7.9.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
false
5e0f2ac60b14e42f
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
c12445a61e4a04fe4f90ab6b06b6fca1970d1dbd
a02bc0f02091a097c2de206dfbdf9c75bd65b072
af7bc6671cf874a9bc38c4a4a9f8047e4ff8e0d9
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.9.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.8.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.4.10-0-...
[ " * $ java -cp target/kafka-streams-examples-7.8.3-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " */\n", "public class WikipediaFeedAvroLambdaExample {\n", "\n", " public static void main(final String[] args) {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\n", " final String schemaRegistryUrl = args.length > 1 ? args[1] : \"...
[ " * $ java -cp target/kafka-streams-examples-7.9.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
false
e1114fdcf96b7579
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
c12445a61e4a04fe4f90ab6b06b6fca1970d1dbd
a02bc0f02091a097c2de206dfbdf9c75bd65b072
af7bc6671cf874a9bc38c4a4a9f8047e4ff8e0d9
src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java
0
1
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href=\"http://docs.confluent.io/current/quickstart.html#quickstart\">QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ b...
[ " * $ java -cp target/kafka-streams-examples-7.9.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.8.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.4.10-0-standalo...
[ " * $ java -cp target/kafka-streams-examples-7.8.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic \"streams-plaintext-input\" (e.g. via {@code kafka-console-producer}).\n", " * The already running example application (step 3) will automatically process this input data and write the\n", " * results to the output topic \"streams-wor...
[ " * $ java -cp target/kafka-streams-examples-7.9.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n" ]
false
f1d6ef89e6097212
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
46797ef424774c68ed6c6bf473b7e8dd99f5c6d5
80fef16995041cc3e165063d4057db28b7cf54e9
7556339c34550955bbca56b220cb39701d2e9dd7
src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java
0
1
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href=\"http://docs.confluent.io/current/quickstart.html#quickstart\">QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ b...
[ " * $ java -cp target/kafka-streams-examples-7.8.0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.7.6-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n", "||||||||| ee4753376\n", " * $ java -cp target/kafka-streams-examples-7.7.5-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionL...
[ " * $ java -cp target/kafka-streams-examples-7.7.6-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
[ " * }</pre>\n", " * <p>\n", " * 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already\n", " * running example application (step 3) will automatically process this input data and write the\n", " * results to the output topic.\n", " * <pre>\n", " * {@code\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.8.0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
false
e21482e3a4f40520
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
46797ef424774c68ed6c6bf473b7e8dd99f5c6d5
80fef16995041cc3e165063d4057db28b7cf54e9
7556339c34550955bbca56b220cb39701d2e9dd7
src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic.\n", " * <pre>\n", " * {@code\n...
[ " * $ java -cp target/kafka-streams-examples-7.8.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.7.6-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n", "||||||||| ee4753376\n", " * $ java -cp target/kafka-streams-examples-7.7.5-0-standalone.jar io.confluent.examples.streams.PageViewRegionExamp...
[ " * $ java -cp target/kafka-streams-examples-7.7.6-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-console-consumer --topic PageViewsByRegion --from-beginning \\\n", " * --bootstrap-server localhost:9092 ...
[ " * $ java -cp target/kafka-streams-examples-7.8.0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
false
63ced882d871f411
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
46797ef424774c68ed6c6bf473b7e8dd99f5c6d5
80fef16995041cc3e165063d4057db28b7cf54e9
7556339c34550955bbca56b220cb39701d2e9dd7
src/main/java/io/confluent/examples/streams/SumLambdaExample.java
0
2
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin...
[ " * $ java -cp target/kafka-streams-examples-7.8.0-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.7.6-standalone.jar io.confluent.examples.streams.SumLambdaExample\n", "||||||||| ee4753376\n", " * $ java -cp target/kafka-streams-examples-7.7.5-0-standalone.jar io.confluent.examples.streams.SumLambdaExample\n", "======...
[ " * $ java -cp target/kafka-streams-examples-7.7.6-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n", "...
[ " * $ java -cp target/kafka-streams-examples-7.8.0-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
false
3dcb8ba07bbd5675
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
46797ef424774c68ed6c6bf473b7e8dd99f5c6d5
80fef16995041cc3e165063d4057db28b7cf54e9
7556339c34550955bbca56b220cb39701d2e9dd7
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java
0
2
[ " * WikiFeed} class is auto-generated from its Avro schema by the maven avro plugin. See {@code\n", " * wikifeed.avsc} under {@code src/main/resources/avro/io/confluent/examples/streams/}. <p> <br> HOW\n", " * TO RUN THIS EXAMPLE <p> 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please refer to\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.8.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.7.6-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample\n", "||||||||| ee4753376\n", " * $ java -cp target/kafka-streams-examples-7.7.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvr...
[ " * $ java -cp target/kafka-streams-examples-7.7.6-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.8.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample\n" ]
false
e82ebb863ca7da53
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
46797ef424774c68ed6c6bf473b7e8dd99f5c6d5
80fef16995041cc3e165063d4057db28b7cf54e9
7556339c34550955bbca56b220cb39701d2e9dd7
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.8.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.7.6-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n", "||||||||| ee4753376\n", " * $ java -cp target/kafka-streams-examples-7.7.5-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvr...
[ " * $ java -cp target/kafka-streams-examples-7.7.6-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " */\n", "public class WikipediaFeedAvroLambdaExample {\n", "\n", " public static void main(final String[] args) {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\n", " final String schemaRegistryUrl = args.length > 1 ? args[1] : \"...
[ " * $ java -cp target/kafka-streams-examples-7.8.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
false
4b8aa2c99b99f4f3
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
173d204d967d4722cad2d73f99cd734850d40119
06886c92bff9942f303e376ffb20abab8f20cbf3
caa7e7402a53e64b451a7db01e111632d8c122dd
src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java
0
1
[ "import org.apache.kafka.clients.consumer.KafkaConsumer;\n", "import org.apache.kafka.clients.producer.KafkaProducer;\n", "import org.apache.kafka.clients.producer.ProducerConfig;\n", "import org.apache.kafka.clients.producer.ProducerRecord;\n", "import org.apache.kafka.common.serialization.StringDeserializ...
[ " * java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-7.2.12-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-7.2.11-standalone.jar...
[ " * java -cp target/kafka-streams-examples-7.2.12-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " *\n", " * You should terminate with {@code Ctrl-C}.\n", " */\n", "public class JsonToAvroExampleDriver {\n", "\n", " public static void main(final String[] args) throws IOException {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\...
[ " * java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
false
f487828ed5bacc78
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
173d204d967d4722cad2d73f99cd734850d40119
06886c92bff9942f303e376ffb20abab8f20cbf3
caa7e7402a53e64b451a7db01e111632d8c122dd
src/main/java/io/confluent/examples/streams/PageViewRegionExample.java
0
2
[ " * <p>\n", " * 2) Create the input/intermediate/output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic PageViews \\\n", " * --zookeeper localhost:2181 --partitions 1 --replication-factor 1\n", " * $ bin/kafka-topics --create --top...
[ " * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.2.12-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.2.11-standa...
[ " * $ java -cp target/kafka-streams-examples-7.2.12-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n...
[ " * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
false
75f0f9fff472c426
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
173d204d967d4722cad2d73f99cd734850d40119
06886c92bff9942f303e376ffb20abab8f20cbf3
caa7e7402a53e64b451a7db01e111632d8c122dd
src/main/java/io/confluent/examples/streams/SumLambdaExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n", "...
[ " * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.2.12-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.2.11-standalone....
[ " * $ java -cp target/kafka-streams-examples-7.2.12-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-console-consumer --topic sum-of-odd-numbers-topic --from-beginning \\\n", " * --bootstrap-server localho...
[ " * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
false
d2285ca54ec2c281
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
173d204d967d4722cad2d73f99cd734850d40119
06886c92bff9942f303e376ffb20abab8f20cbf3
caa7e7402a53e64b451a7db01e111632d8c122dd
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java
0
1
[ "import org.apache.kafka.common.serialization.StringDeserializer;\n", "import org.apache.kafka.common.serialization.StringSerializer;\n", "\n", "import java.time.Duration;\n", "import java.util.Collections;\n", "import java.util.Properties;\n", "import java.util.Random;\n", "import java.util.stream.In...
[ " * java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-7.2.12-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-7.2.11-standal...
[ " * java -cp target/kafka-streams-examples-7.2.12-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " *\n", " * You should terminate with {@code Ctrl-C}.\n", " */\n", "public class WikipediaFeedAvroExampleDriver {\n", "\n", " public static void main(final String[] args) {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\n", " f...
[ " * java -cp target/kafka-streams-examples-7.3.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
false
87a0e84885df79d0
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
173d204d967d4722cad2d73f99cd734850d40119
06886c92bff9942f303e376ffb20abab8f20cbf3
caa7e7402a53e64b451a7db01e111632d8c122dd
src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java
0
2
[ " * --zookeeper localhost:2181 --partitions 4 --replication-factor 1\n", " * $ bin/kafka-topics --create --topic song-feed \\\n", " * --zookeeper localhost:2181 --partitions 4 --replication-factor 1\n", " *\n", " * }\n", " * </pre>\n", " *\n", " * Note: The above ...
[ " * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar \\\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.2.12-standalone.jar \\\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.2.11-standalone.jar \\\n", "||||||||||| 4407a90ec\n", " * $ ja...
[ " * $ java -cp target/kafka-streams-examples-7.2.12-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070\n", " * }\n", " * </pre>\n", " *\n", " * Here, `7070` sets the port for the REST endpoint that will be used by this application instance.\n", " *\n", " * Then, in a separate terminal, run the second instance of t...
[ " * $ java -cp target/kafka-streams-examples-7.3.0-standalone.jar \\\n" ]
false
e91559302cf3d005
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
314029b2a2062b6547f4531ea045d724ea5493d1
d8edc99a5f5c5018310cdfe683e684916afea3ac
58192b874f3397fc4aea377d737fe58458da684e
src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java
0
2
[ " *\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic TextLinesTopic \\\n", " * --zookeeper localhost:2181 --partitions 3 --replication-factor 1\n", " * }\n", " * </pre>\n", " *\n", " * Note: The above commands are for the Confluent Platform. For Apache Kafk...
[ " * $ java -cp target/kafka-streams-examples-5.0.0-SNAPSHOT-standalone.jar \\\n", " * io.confluent.examples.streams.interactivequeries.InteractiveQueriesExample 7070\n" ]
[ " * $ java -cp target/kafka-streams-examples-4.0.0-SNAPSHOT-standalone.jar \\\n", " * io.confluent.examples.streams.interactivequeries.InteractiveQueriesExample 7070\n" ]
[ " * $ java -cp target/kafka-streams-examples-4.0.0-SNAPSHOT-standalone.jar \\\n", " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070\n" ]
[ " * }\n", " * </pre>\n", " *\n", " * Here, `7070` sets the port for the REST endpoint that will be used by this application instance.\n", " *\n", " * Then, in a separate terminal, run the second instance of this application (on port 7071):\n", " *\n", " * <pre>\n", " * {@code\n" ]
[ " * $ java -cp target/kafka-streams-examples-5.0.0-SNAPSHOT-standalone.jar \\\n", " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070\n" ]
false
d60f87607c4b087f
[ "A1", "B2" ]
mix of lines
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
314029b2a2062b6547f4531ea045d724ea5493d1
d8edc99a5f5c5018310cdfe683e684916afea3ac
58192b874f3397fc4aea377d737fe58458da684e
src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java
1
2
[ " * }\n", " * </pre>\n", " *\n", " * Here, `7070` sets the port for the REST endpoint that will be used by this application instance.\n", " *\n", " * Then, in a separate terminal, run the second instance of this application (on port 7071):\n", " *\n", " * <pre>\n", " * {@code\n" ]
[ " * $ java -cp target/kafka-streams-examples-5.0.0-SNAPSHOT-standalone.jar \\\n", " * io.confluent.examples.streams.interactivequeries.InteractiveQueriesExample 7071\n" ]
[ " * $ java -cp target/kafka-streams-examples-4.0.0-SNAPSHOT-standalone.jar \\\n", " * io.confluent.examples.streams.interactivequeries.InteractiveQueriesExample 7071\n" ]
[ " * $ java -cp target/kafka-streams-examples-4.0.0-SNAPSHOT-standalone.jar \\\n", " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071\n" ]
[ " * }\n", " * </pre>\n", " *\n", " *\n", " * 4) Write some input data to the source topics (e.g. via {@link WordCountInteractiveQueriesDriver}). The\n", " * already running example application (step 3) will automatically process this input data\n", " *\n", " *\n", " * 5) Use your browser to hit the ...
[ " * $ java -cp target/kafka-streams-examples-5.0.0-SNAPSHOT-standalone.jar \\\n", " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071\n" ]
false
4014a335ebb3ea73
[ "A1", "B2" ]
mix of lines
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
c92f8a423e4324f3c97d41e595cd3c1d23d02296
489a5715fe1eb62170592ea08367168c714cb530
545c5f02732267b0c609bf411546441096b50593
src/main/java/io/confluent/examples/streams/JsonToAvroExample.java
0
2
[ " * TO RUN THIS EXAMPLE <p> 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please refer\n", " * to\n", " * <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>. <p> 2)\n", " * Create the input/intermediate/output topics used by this example.\n", " * <pre>\n", " *...
[ " * $ java -cp target/kafka-streams-examples-6.2.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.4-standalone.jar i...
[ " * $ java -cp target/kafka-streams-examples-6.1.5-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic. The {@link JsonToAvroExampleDriver} wi...
[ " * $ java -cp target/kafka-streams-examples-6.2.3-0-standalone.jar io.confluent.examples.streams.JsonToAvroExample\n" ]
false
3e45c87c43218624
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
c92f8a423e4324f3c97d41e595cd3c1d23d02296
489a5715fe1eb62170592ea08367168c714cb530
545c5f02732267b0c609bf411546441096b50593
src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java
0
1
[ " * Zookeeper Client will go to AUTH_FAILED state.\n", " * Exception in thread \"main\" org.I0Itec.zkclient.exception.ZkAuthFailedException: Authentication\n", " * failure\n", " * }</pre>\n", " * If this happens, just wait a minute so that ZooKeeper can finish its startup, then try again.\n", " * <p>\n"...
[ " * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-6.2.3-0-standalone.jar \\\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-6.1.5-0-standalone.jar \\\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-6.1.4-standalone.jar \\\n", "||...
[ " * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-6.1.5-0-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.SecureKafkaStreamsExample\n", " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already\n", " * running example application (step 3) will automatically process this input data...
[ " * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-6.2.3-0-standalone.jar \\\n" ]
false
40a70b76881a82d0
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
c92f8a423e4324f3c97d41e595cd3c1d23d02296
489a5715fe1eb62170592ea08367168c714cb530
545c5f02732267b0c609bf411546441096b50593
src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java
0
1
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin...
[ " * $ java -cp target/kafka-streams-examples-6.2.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.4-standalone....
[ " * $ java -cp target/kafka-streams-examples-6.1.5-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic \"streams-plaintext-input\" (e.g. via {@code kafka-console-producer}).\n", " * The already running example application (step 3) will automatically process this input data and write the\n", " * results to the output topic \"streams-wor...
[ " * $ java -cp target/kafka-streams-examples-6.2.3-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n" ]
false
38e9479f583e2dcf
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
c92f8a423e4324f3c97d41e595cd3c1d23d02296
489a5715fe1eb62170592ea08367168c714cb530
545c5f02732267b0c609bf411546441096b50593
src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java
0
1
[ "import org.apache.kafka.clients.producer.ProducerConfig;\n", "import org.apache.kafka.clients.producer.ProducerRecord;\n", "import org.apache.kafka.common.serialization.StringSerializer;\n", "\n", "import java.util.Arrays;\n", "import java.util.List;\n", "import java.util.Properties;\n", "import java...
[ " * $ java -cp target/kafka-streams-examples-6.2.3-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.5-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-stre...
[ " * $ java -cp target/kafka-streams-examples-6.1.5-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver\n" ]
[ " * }\n", " * </pre>\n", " * You should terminate with Ctrl-C\n", " */\n", "public class WordCountInteractiveQueriesDriver {\n", "\n", " public static void main(final String [] args) throws Exception {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\n", " ...
[ " * $ java -cp target/kafka-streams-examples-6.2.3-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver\n" ]
false
4381ff58c8c485ee
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
c92f8a423e4324f3c97d41e595cd3c1d23d02296
489a5715fe1eb62170592ea08367168c714cb530
545c5f02732267b0c609bf411546441096b50593
src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java
0
2
[ " * --zookeeper localhost:2181 --partitions 4 --replication-factor 1\n", " * $ bin/kafka-topics --create --topic song-feed \\\n", " * --zookeeper localhost:2181 --partitions 4 --replication-factor 1\n", " *\n", " * }\n", " * </pre>\n", " *\n", " * Note: The above ...
[ " * $ java -cp target/kafka-streams-examples-6.2.3-0-standalone.jar \\\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.5-0-standalone.jar \\\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.4-standalone.jar \\\n", "||||||||||| e4f426bdb\n", " * $ ja...
[ " * $ java -cp target/kafka-streams-examples-6.1.5-0-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070\n", " * }\n", " * </pre>\n", " *\n", " * Here, `7070` sets the port for the REST endpoint that will be used by this application instance.\n", " *\n", " * Then, in a separate terminal, run the second instance of t...
[ " * $ java -cp target/kafka-streams-examples-6.2.3-0-standalone.jar \\\n" ]
false
ab868b63559906b8
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
f98488f74f19d3d32d5a57f32e67adaeeacd5ed0
0345faa7dc2d13a6fa668ace106d156dab29775f
b77838e177d33d83ad6788c446cdbb8128ed7e36
src/main/java/io/confluent/examples/streams/ApplicationResetExample.java
0
2
[ " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input, intermediate, and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic my...
[ " * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.2.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.2.2-standalone...
[ " * $ java -cp target/kafka-streams-examples-6.2.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}).\n", " * The already running example application (step 3) will automatically process this input data and write the results to the output topics.\n", " * <pre>\n", " * {@code\n", " * # Star...
[ " * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample\n" ]
false
d3a859e7e5b60d9e
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
f98488f74f19d3d32d5a57f32e67adaeeacd5ed0
0345faa7dc2d13a6fa668ace106d156dab29775f
b77838e177d33d83ad6788c446cdbb8128ed7e36
src/main/java/io/confluent/examples/streams/ApplicationResetExample.java
1
2
[ " * it will reprocess its input data by re-reading the input topic.\n", " * To reset your application you must run:\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-streams-application-reset --application-id application-reset-demo \\\n", " * --input-topics my-input-to...
[ " * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.2.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-ex...
[ " * $ java -cp target/kafka-streams-examples-6.2.2-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset\n" ]
[ " * }</pre>\n", " * 9) If your console consumer (from step 5) is still running, you should see the same output data again.\n", " * If it was stopped and you restart it, if will print the result \"twice\".\n", " * Resetting an application does not modify output topics, thus, for this example, the output topic ...
[ " * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset\n" ]
false
6f5a66445de2bd97
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
f98488f74f19d3d32d5a57f32e67adaeeacd5ed0
0345faa7dc2d13a6fa668ace106d156dab29775f
b77838e177d33d83ad6788c446cdbb8128ed7e36
src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java
0
1
[ "import org.apache.kafka.clients.consumer.KafkaConsumer;\n", "import org.apache.kafka.clients.producer.KafkaProducer;\n", "import org.apache.kafka.clients.producer.ProducerConfig;\n", "import org.apache.kafka.clients.producer.ProducerRecord;\n", "import org.apache.kafka.common.serialization.StringDeserializ...
[ " * java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-6.2.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-6.2.2-standalone.jar...
[ " * java -cp target/kafka-streams-examples-6.2.2-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " *\n", " * You should terminate with {@code Ctrl-C}.\n", " */\n", "public class JsonToAvroExampleDriver {\n", "\n", " public static void main(final String[] args) throws IOException {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\...
[ " * java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
false
3f3152e233b2704b
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
f98488f74f19d3d32d5a57f32e67adaeeacd5ed0
0345faa7dc2d13a6fa668ace106d156dab29775f
b77838e177d33d83ad6788c446cdbb8128ed7e36
src/main/java/io/confluent/examples/streams/SessionWindowsExampleDriver.java
0
1
[ "import org.apache.kafka.clients.producer.ProducerConfig;\n", "import org.apache.kafka.clients.producer.ProducerRecord;\n", "import org.apache.kafka.common.serialization.Serdes;\n", "\n", "import java.time.Duration;\n", "import java.util.Collections;\n", "import java.util.Map;\n", "import java.util.Pr...
[ " * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.2.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.2.2-standa...
[ " * $ java -cp target/kafka-streams-examples-6.2.2-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " */\n", "public class SessionWindowsExampleDriver {\n", "\n", " private static final int NUM_RECORDS_SENT = 8;\n", "\n", " public static void main(final String[] args) {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\n", " fi...
[ " * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver\n" ]
false
1cf4475c774715d5
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
f98488f74f19d3d32d5a57f32e67adaeeacd5ed0
0345faa7dc2d13a6fa668ace106d156dab29775f
b77838e177d33d83ad6788c446cdbb8128ed7e36
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java
0
2
[ " * {@code WikiFeed} class is auto-generated from its Avro schema by the maven avro plugin. See\n", " * {@code wikifeed.avsc} under {@code src/main/resources/avro/io/confluent/examples/streams/}. <p>\n", " * <br> HOW TO RUN THIS EXAMPLE <p> 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.2.2-standalon...
[ " * $ java -cp target/kafka-streams-examples-6.2.2-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.0.1-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
false
2fc6354e2889f4e4
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
0bf41c1b9d5dfe121b6ea0e8e926c38fc56f5b04
5ef9abcd9cd8397963f67893b89084f98e598cba
9587ec0e9b3315c46ae3da079441129ba3bccbfa
src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java
0
1
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin...
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.10-st...
[ " * $ java -cp target/kafka-streams-examples-7.2.6-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
[ " * }</pre>\n", " * <p>\n", " * 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already\n", " * running example application (step 3) will automatically process this input data and write the\n", " * results to the output topic.\n", " * <pre>\n", " * {@code\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
false
388949d6e47b6e36
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
0bf41c1b9d5dfe121b6ea0e8e926c38fc56f5b04
5ef9abcd9cd8397963f67893b89084f98e598cba
9587ec0e9b3315c46ae3da079441129ba3bccbfa
src/main/java/io/confluent/examples/streams/SessionWindowsExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n...
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.10-stan...
[ " * $ java -cp target/kafka-streams-examples-7.2.6-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * You should see output data similar to:\n", " * <pre>\n", " * {@code\n", " * jo@1484823406597->1484823406597 = 1 # new session for jo created\n", " * bill@1484823466597->1484823466597 = 1 # new session for bill created\n", " * sarah@1484823526597->1484823526...
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver\n" ]
false
de2e889575c3fd32
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
0bf41c1b9d5dfe121b6ea0e8e926c38fc56f5b04
5ef9abcd9cd8397963f67893b89084f98e598cba
9587ec0e9b3315c46ae3da079441129ba3bccbfa
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java
0
2
[ " * {@code WikiFeed} class is auto-generated from its Avro schema by the maven avro plugin. See\n", " * {@code wikifeed.avsc} under {@code src/main/resources/avro/io/confluent/examples/streams/}. <p>\n", " * <br> HOW TO RUN THIS EXAMPLE <p> 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.10-standal...
[ " * $ java -cp target/kafka-streams-examples-7.2.6-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
false
e135fcad62e14d55
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
0bf41c1b9d5dfe121b6ea0e8e926c38fc56f5b04
5ef9abcd9cd8397963f67893b89084f98e598cba
9587ec0e9b3315c46ae3da079441129ba3bccbfa
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java
0
2
[ " * WikiFeed} class is auto-generated from its Avro schema by the maven avro plugin. See {@code\n", " * wikifeed.avsc} under {@code src/main/resources/avro/io/confluent/examples/streams/}. <p> <br> HOW\n", " * TO RUN THIS EXAMPLE <p> 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please refer to\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.10-s...
[ " * $ java -cp target/kafka-streams-examples-7.2.6-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample\n" ]
false
cf6b8918f4a06e1b
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
0bf41c1b9d5dfe121b6ea0e8e926c38fc56f5b04
5ef9abcd9cd8397963f67893b89084f98e598cba
9587ec0e9b3315c46ae3da079441129ba3bccbfa
src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java
1
2
[ " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070\n", " * }\n", " * </pre>\n", " *\n", " * Here, `7070` sets the port for the REST endpoint that will be used by this application instance.\n", " *\n", " * Then, in a separate terminal, run the second instanc...
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar \\\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar \\\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.10-standalone.jar \\\n", "||||||||||| cbb2d9469\n", " * $ ...
[ " * $ java -cp target/kafka-streams-examples-7.2.6-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071\n", " * }\n", " * </pre>\n", " *\n", " *\n", " * 4) Write some input data to the source topics (e.g. via {@link WordCountInteractiveQueriesDriver}). The\n", " * already running example application (step 3) ...
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar \\\n" ]
false
6137c80574390432
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
4aef76fff7012d310b99acb79ea6b3a71ababe4b
d93f1841640a3d2bf83f74a79d34635506737861
3b3a18a0b62a8c4fe5ab9d0499e55ffa24df252b
src/main/java/io/confluent/examples/streams/JsonToAvroExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic. The {@link JsonToAvroExampleDriver} wi...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.9-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.8-standalone.j...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " */\n", "public class JsonToAvroExample {\n", "\n", " static final String JSON_SOURCE_TOPIC = \"json-source\";\n", " static final String AVRO_SINK_TOPIC = \"avro-sink\";\n", "\n", " public static void main(final String[] args) {\n", " final String bootstrapServers =...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
false
2bf1a754b0782cce
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
4aef76fff7012d310b99acb79ea6b3a71ababe4b
d93f1841640a3d2bf83f74a79d34635506737861
3b3a18a0b62a8c4fe5ab9d0499e55ffa24df252b
src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java
0
2
[ " * <p>\n", " * 2) Create the input/intermediate/output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic PageViews \\\n", " * --zookeeper localhost:2181 --partitions 1 --replication-factor 1\n", " * $ bin/kafka-topics --create --top...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.9-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.8-standalo...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic.\n", " * <pre>\n", " * {@code\n...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
false
f5e72c107bdff475
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
4aef76fff7012d310b99acb79ea6b3a71ababe4b
d93f1841640a3d2bf83f74a79d34635506737861
3b3a18a0b62a8c4fe5ab9d0499e55ffa24df252b
src/main/java/io/confluent/examples/streams/SessionWindowsExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link SessionWindowsExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.9-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.8-standalo...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * You should see output data similar to:\n", " * <pre>\n", " * {@code\n", " * jo@1484823406597->1484823406597 = 1 # new session for jo created\n", " * bill@1484823466597->1484823466597 = 1 # new session for bill created\n", " * sarah@1484823526597->1484823526...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.SessionWindowsExampleDriver\n" ]
false
fede74acfa1d6ef5
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
4aef76fff7012d310b99acb79ea6b3a71ababe4b
d93f1841640a3d2bf83f74a79d34635506737861
3b3a18a0b62a8c4fe5ab9d0499e55ffa24df252b
src/main/java/io/confluent/examples/streams/SumLambdaExample.java
0
2
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.9-standalone.jar io.confluent.examples.streams.SumLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.8-standalone.jar io.c...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n", "...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
false
11cce7430c0a673a
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
4aef76fff7012d310b99acb79ea6b3a71ababe4b
d93f1841640a3d2bf83f74a79d34635506737861
3b3a18a0b62a8c4fe5ab9d0499e55ffa24df252b
src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java
0
2
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input/intermediate/output topics used by this example.\n", " * <...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.9-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.8-standalone....
[ " * $ java -cp target/kafka-streams-examples-6.1.9-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link TopArticlesExampleDriver} ...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
false
0ea2f2eaa47b730d
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
b37d57784f4639107b019f3b8fe527fae02be506
ff7f72c7efb97b935353d0d16023886a02093046
1593fcca1710533a740da40d3fbfc884c962c059
src/main/java/io/confluent/examples/streams/ApplicationResetExample.java
1
2
[ " * it will reprocess its input data by re-reading the input topic.\n", " * To reset your application you must run:\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-streams-application-reset --application-id application-reset-demo \\\n", " * --input-topics my-input-to...
[ " * $ java -cp target/kafka-streams-examples-6.1.0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.12-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.13-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset\n" ]
[ " * }</pre>\n", " * 9) If your console consumer (from step 5) is still running, you should see the same output data again.\n", " * If it was stopped and you restart it, if will print the result \"twice\".\n", " * Resetting an application does not modify output topics, thus, for this example, the output topic ...
[ " * $ java -cp target/kafka-streams-examples-6.1.0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset\n" ]
false
ccae49f49d68dcc8
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
b37d57784f4639107b019f3b8fe527fae02be506
ff7f72c7efb97b935353d0d16023886a02093046
1593fcca1710533a740da40d3fbfc884c962c059
src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * ...
[ " * $ java -cp target/kafka-streams-examples-6.1.0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.12-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.13-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * <p>\n", " * 5) Once you're done with your experiments, you can stop this example via {@code Ctrl-C}. If needed,\n", " * also stop the Confluent Schema Registry ({@code Ctrl-C}), then stop the Kafka broker ({@code Ctrl-C}), and\n", " * only then stop the ZooKeeper instance ({@c...
[ " * $ java -cp target/kafka-streams-examples-6.1.0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver\n" ]
false
48245ec62b73ea24
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
b37d57784f4639107b019f3b8fe527fae02be506
ff7f72c7efb97b935353d0d16023886a02093046
1593fcca1710533a740da40d3fbfc884c962c059
src/main/java/io/confluent/examples/streams/SumLambdaExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n", "...
[ " * $ java -cp target/kafka-streams-examples-6.1.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.12-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.13-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-console-consumer --topic sum-of-odd-numbers-topic --from-beginning \\\n", " * --bootstrap-server localho...
[ " * $ java -cp target/kafka-streams-examples-6.1.0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
false
4a672e640e086582
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
b628345122c043b4f4fe58accbaafe4c7cd0977b
b59e75bbffbb6361cd3cf3765b6d64052f9febd7
8407a75055473e96ab62ba090a1346e08730c6e6
src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java
0
1
[ "import org.apache.kafka.clients.consumer.KafkaConsumer;\n", "import org.apache.kafka.clients.producer.KafkaProducer;\n", "import org.apache.kafka.clients.producer.ProducerConfig;\n", "import org.apache.kafka.clients.producer.ProducerRecord;\n", "import org.apache.kafka.common.serialization.StringDeserializ...
[ " * java -cp target/kafka-streams-examples-7.6.11-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-7.6.11-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n", "||||||||| bd3c32287\n", " * java -cp target/kafka-streams-examples-7.6.10-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n...
[ " * java -cp target/kafka-streams-examples-7.6.11-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " *\n", " * You should terminate with {@code Ctrl-C}.\n", " */\n", "public class JsonToAvroExampleDriver {\n", "\n", " public static void main(final String[] args) throws IOException {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\...
[ " * java -cp target/kafka-streams-examples-7.6.11-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
false
7bb93ad07b416bb6
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
b628345122c043b4f4fe58accbaafe4c7cd0977b
b59e75bbffbb6361cd3cf3765b6d64052f9febd7
8407a75055473e96ab62ba090a1346e08730c6e6
src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java
0
1
[ "\n", "import java.io.IOException;\n", "import java.io.InputStream;\n", "import java.time.Duration;\n", "import java.util.Collections;\n", "import java.util.Properties;\n", "import java.util.Random;\n", "import java.util.stream.IntStream;\n", "\n", "/**\n", " * This is a sample driver for the {@...
[ " * java -cp target/kafka-streams-examples-7.6.11-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-7.6.11-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n", "||||||||| bd3c32287\n", " * java -cp target/kafka-streams-examples-7.6.10-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample...
[ " * java -cp target/kafka-streams-examples-7.6.11-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " *\n", " * You should terminate with {@code Ctrl-C}.\n", " */\n", "public class TopArticlesExampleDriver {\n", "\n", " public static void main(final String[] args) throws IOException {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";...
[ " * java -cp target/kafka-streams-examples-7.6.11-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
false
b2e4f836a3bd3def
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
b628345122c043b4f4fe58accbaafe4c7cd0977b
b59e75bbffbb6361cd3cf3765b6d64052f9febd7
8407a75055473e96ab62ba090a1346e08730c6e6
src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java
1
2
[ " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070\n", " * }\n", " * </pre>\n", " *\n", " * Here, `7070` sets the port for the REST endpoint that will be used by this application instance.\n", " *\n", " * <p>Then, in a separate terminal, run the second inst...
[ " * $ java -cp target/kafka-streams-examples-7.6.11-0-standalone.jar \\\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.6.11-standalone.jar \\\n", "||||||||| bd3c32287\n", " * $ java -cp target/kafka-streams-examples-7.6.10-0-standalone.jar \\\n", "=========\n", " * $ java -cp target/kafka-streams-examples-7.6.10-standalone.jar \\\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.6.11-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071\n", " * }\n", " * </pre>\n", " *\n", " *\n", " * 4) Write some input data to the source topics (e.g. via {@link WordCountInteractiveQueriesDriver}). The\n", " * already running example application (step 3) ...
[ " * $ java -cp target/kafka-streams-examples-7.6.11-0-standalone.jar \\\n" ]
false
2d9a68d34b9212a9
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
4c6913ba9bdda7b6415007a0b5a7fe8ee3c84f1b
df20a71718d1bc7ab4ee408de42c0528375da00a
a0db53e2258aa210d6eba3bc8dfade4352918761
src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * ...
[ " * $ java -cp target/kafka-streams-examples-7.2.6-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.1.8-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1....
[ " * $ java -cp target/kafka-streams-examples-7.1.8-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * <p>\n", " * 5) Once you're done with your experiments, you can stop this example via {@code Ctrl-C}. If needed,\n", " * also stop the Confluent Schema Registry ({@code Ctrl-C}), then stop the Kafka broker ({@code Ctrl-C}), and\n", " * only then stop the ZooKeeper instance ({@c...
[ " * $ java -cp target/kafka-streams-examples-7.2.6-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver\n" ]
false
09364b12001cbbc5
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
4c6913ba9bdda7b6415007a0b5a7fe8ee3c84f1b
df20a71718d1bc7ab4ee408de42c0528375da00a
a0db53e2258aa210d6eba3bc8dfade4352918761
src/main/java/io/confluent/examples/streams/PageViewRegionExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n...
[ " * $ java -cp target/kafka-streams-examples-7.2.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.1.8-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.12-0-sta...
[ " * $ java -cp target/kafka-streams-examples-7.1.8-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-console-consumer --topic PageViewsByRegion --from-beginning \\\n", " * --bootstrap-server localhost:9092 ...
[ " * $ java -cp target/kafka-streams-examples-7.2.6-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
false
41b3a2e93ebb7b95
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
4c6913ba9bdda7b6415007a0b5a7fe8ee3c84f1b
df20a71718d1bc7ab4ee408de42c0528375da00a
a0db53e2258aa210d6eba3bc8dfade4352918761
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.2.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.1.8-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.12-0-...
[ " * $ java -cp target/kafka-streams-examples-7.1.8-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " */\n", "\n", "public class WikipediaFeedAvroExample {\n", "\n", " static final String WIKIPEDIA_FEED = \"WikipediaFeed\";\n", " static final String WIKIPEDIA_STATS = \"WikipediaStats\";\n", "\n", " public static void main(final String[] args) {\n", " final String...
[ " * $ java -cp target/kafka-streams-examples-7.2.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
false
fc7c1b9e368b0163
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
d2d03c8e7da351cac9687f18c07f6e5410eae7eb
c72bf26eed9b42c2fd22947dfb7c71aed3fdfeac
d83dc308c2b08b2ec4e96a5ba4773df537b017c8
src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java
0
1
[ " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic TextLinesTopic \\...
[ " * $ java -cp target/kafka-streams-examples-7.5.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.1.10-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.1.9-standalo...
[ " * $ java -cp target/kafka-streams-examples-7.5.1-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already\n", " * running example application (step 3) will automatically process this input data and write the\n", " * results to the output topics.\n", " * <pre>\n", " * {@code\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.5.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample\n" ]
false
1e85d08cf02f9156
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
d2d03c8e7da351cac9687f18c07f6e5410eae7eb
c72bf26eed9b42c2fd22947dfb7c71aed3fdfeac
d83dc308c2b08b2ec4e96a5ba4773df537b017c8
src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java
1
2
[ " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070\n", " * }\n", " * </pre>\n", " *\n", " * Here, `7070` sets the port for the REST endpoint that will be used by this application instance.\n", " *\n", " * Then, in a separate terminal, run the second instanc...
[ " * $ java -cp target/kafka-streams-examples-7.5.2-0-standalone.jar \\\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.1.10-0-standalone.jar \\\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.1.9-standalone.jar \\\n", "||||||||||| 2c8ff721d\n", " * $ j...
[ " * $ java -cp target/kafka-streams-examples-7.5.1-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071\n", " * }\n", " * </pre>\n", " *\n", " *\n", " * 4) Write some input data to the source topics (e.g. via {@link WordCountInteractiveQueriesDriver}). The\n", " * already running example application (step 3) ...
[ " * $ java -cp target/kafka-streams-examples-7.5.2-0-standalone.jar \\\n" ]
false
437d4c2348e2e84c
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
d2d03c8e7da351cac9687f18c07f6e5410eae7eb
c72bf26eed9b42c2fd22947dfb7c71aed3fdfeac
d83dc308c2b08b2ec4e96a5ba4773df537b017c8
src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java
0
2
[ " * --zookeeper localhost:2181 --partitions 4 --replication-factor 1\n", " * $ bin/kafka-topics --create --topic song-feed \\\n", " * --zookeeper localhost:2181 --partitions 4 --replication-factor 1\n", " *\n", " * }\n", " * </pre>\n", " *\n", " * Note: The above ...
[ " * $ java -cp target/kafka-streams-examples-7.5.2-0-standalone.jar \\\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.1.10-0-standalone.jar \\\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.1.9-standalone.jar \\\n", "||||||||||| 2c8ff721d\n", " * $ j...
[ " * $ java -cp target/kafka-streams-examples-7.5.1-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070\n", " * }\n", " * </pre>\n", " *\n", " * Here, `7070` sets the port for the REST endpoint that will be used by this application instance.\n", " *\n", " * Then, in a separate terminal, run the second instance of t...
[ " * $ java -cp target/kafka-streams-examples-7.5.2-0-standalone.jar \\\n" ]
false
7e869a3914081658
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
d2d03c8e7da351cac9687f18c07f6e5410eae7eb
c72bf26eed9b42c2fd22947dfb7c71aed3fdfeac
d83dc308c2b08b2ec4e96a5ba4773df537b017c8
src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java
0
1
[ "import java.util.Random;\n", "\n", "import java.io.BufferedReader;\n", "import java.io.InputStream;\n", "import java.io.InputStreamReader;\n", "import static java.nio.charset.StandardCharsets.UTF_8;\n", "\n", "\n", "\n", "/**\n", " * This is a sample driver for the {@link KafkaMusicExample}.\n"...
[ " * $ java -cp target/kafka-streams-examples-7.5.2-0-standalone.jar \\\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.1.10-0-standalone.jar \\\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.1.9-standalone.jar \\\n", "||||||||||| 2c8ff721d\n", " * $ j...
[ " * $ java -cp target/kafka-streams-examples-7.5.1-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver\n", " * }\n", " * </pre>\n", " * You should terminate with Ctrl-C\n", " */\n", "public class KafkaMusicExampleDriver {\n", "\n", " public static void main(final String [] args) throws Exception {\n", " f...
[ " * $ java -cp target/kafka-streams-examples-7.5.2-0-standalone.jar \\\n" ]
false
bf5dae3f3248cb5c
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
0d48a213c37b9d38fe495c3cefdd6db877a33037
5374d918fde69c6999f50ae6d2893773c3fe6b91
0d685b4ba5a631537b63bd3e040148a5ab4570d5
src/main/java/io/confluent/examples/streams/JsonToAvroExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic. The {@link JsonToAvroExampleDriver} wi...
[ " * $ java -cp target/kafka-streams-examples-7.3.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.2.6-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " */\n", "public class JsonToAvroExample {\n", "\n", " static final String JSON_SOURCE_TOPIC = \"json-source\";\n", " static final String AVRO_SINK_TOPIC = \"avro-sink\";\n", "\n", " public static void main(final String[] args) {\n", " final String bootstrapServers =...
[ " * $ java -cp target/kafka-streams-examples-7.3.4-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
false
5e280992d0c51d88
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
0d48a213c37b9d38fe495c3cefdd6db877a33037
5374d918fde69c6999f50ae6d2893773c3fe6b91
0d685b4ba5a631537b63bd3e040148a5ab4570d5
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java
0
2
[ " * {@code WikiFeed} class is auto-generated from its Avro schema by the maven avro plugin. See\n", " * {@code wikifeed.avsc} under {@code src/main/resources/avro/io/confluent/examples/streams/}. <p>\n", " * <br> HOW TO RUN THIS EXAMPLE <p> 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.3.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.2.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.3.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
false
5ea54b91dc87f757
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
0d48a213c37b9d38fe495c3cefdd6db877a33037
5374d918fde69c6999f50ae6d2893773c3fe6b91
0d685b4ba5a631537b63bd3e040148a5ab4570d5
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.3.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.2.6-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " */\n", "\n", "public class WikipediaFeedAvroExample {\n", "\n", " static final String WIKIPEDIA_FEED = \"WikipediaFeed\";\n", " static final String WIKIPEDIA_STATS = \"WikipediaStats\";\n", "\n", " public static void main(final String[] args) {\n", " final String...
[ " * $ java -cp target/kafka-streams-examples-7.3.4-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
false
c45b86445581d56d
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
0d48a213c37b9d38fe495c3cefdd6db877a33037
5374d918fde69c6999f50ae6d2893773c3fe6b91
0d685b4ba5a631537b63bd3e040148a5ab4570d5
src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExample.java
0
2
[ " * --zookeeper localhost:2181 --partitions 4 --replication-factor 1\n", " * $ bin/kafka-topics --create --topic song-feed \\\n", " * --zookeeper localhost:2181 --partitions 4 --replication-factor 1\n", " *\n", " * }\n", " * </pre>\n", " *\n", " * Note: The above ...
[ " * $ java -cp target/kafka-streams-examples-7.3.4-0-standalone.jar \\\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.2.6-0-standalone.jar \\\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.2.7-0-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExample 7070\n", " * }\n", " * </pre>\n", " *\n", " * Here, `7070` sets the port for the REST endpoint that will be used by this application instance.\n", " *\n", " * Then, in a separate terminal, run the second instance of t...
[ " * $ java -cp target/kafka-streams-examples-7.3.4-0-standalone.jar \\\n" ]
false
453ce5948f5dc80f
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
cfdad988fe021d46a9966e22a58480a50bf6a82e
35c9be300796bf0db40600764cce34cd1c7c7fec
3b77a1033c375469e8bbbc976faf1bc3ca4fc677
src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java
0
1
[ " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic TextLinesTopic \\...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already\n", " * running example application (step 3) will automatically process this input data and write the\n", " * results to the output topics.\n", " * <pre>\n", " * {@code\n", ...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample\n" ]
false
7ba81f02d1f80222
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
cfdad988fe021d46a9966e22a58480a50bf6a82e
35c9be300796bf0db40600764cce34cd1c7c7fec
3b77a1033c375469e8bbbc976faf1bc3ca4fc677
src/main/java/io/confluent/examples/streams/SumLambdaExample.java
0
2
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n", "...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
false
26bc6731e443293e
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
cfdad988fe021d46a9966e22a58480a50bf6a82e
35c9be300796bf0db40600764cce34cd1c7c7fec
3b77a1033c375469e8bbbc976faf1bc3ca4fc677
src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link TopArticlesExampleDriver} ...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " */\n", "public class TopArticlesLambdaExample {\n", "\n", " static final String TOP_NEWS_PER_INDUSTRY_TOPIC = \"TopNewsPerIndustry\";\n", " static final String PAGE_VIEWS = \"PageViews\";\n", "\n", " private static boolean isArticle(final GenericRecord record) {\n", "...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver\n" ]
false
984bfc4869bedf36
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
cfdad988fe021d46a9966e22a58480a50bf6a82e
35c9be300796bf0db40600764cce34cd1c7c7fec
3b77a1033c375469e8bbbc976faf1bc3ca4fc677
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java
0
2
[ " * WikiFeed} class is auto-generated from its Avro schema by the maven avro plugin. See {@code\n", " * wikifeed.avsc} under {@code src/main/resources/avro/io/confluent/examples/streams/}. <p> <br> HOW\n", " * TO RUN THIS EXAMPLE <p> 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please refer to\n", ...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroLambdaExample\n" ]
false
1f8effdc2a2e5301
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
cfdad988fe021d46a9966e22a58480a50bf6a82e
35c9be300796bf0db40600764cce34cd1c7c7fec
3b77a1033c375469e8bbbc976faf1bc3ca4fc677
src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java
0
1
[ "import java.util.Random;\n", "\n", "import java.io.BufferedReader;\n", "import java.io.InputStream;\n", "import java.io.InputStreamReader;\n", "import static java.nio.charset.StandardCharsets.UTF_8;\n", "\n", "\n", "\n", "/**\n", " * This is a sample driver for the {@link KafkaMusicExample}.\n"...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar \\\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.11-SNAPSHOT-standalone.jar \\\n" ]
[ " * $ java -cp target/kafka-streams-examples-6.0.12-SNAPSHOT-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver\n", " * }\n", " * </pre>\n", " * You should terminate with Ctrl-C\n", " */\n", "public class KafkaMusicExampleDriver {\n", "\n", " public static void main(final String [] args) throws Exception {\n", " f...
[ " * $ java -cp target/kafka-streams-examples-6.1.9-0-standalone.jar \\\n" ]
false
602f5f581abf5f05
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
9a2862528661713d5fe29ad8073a416440ff1d1f
20539a868e2a9facb1825392ad640ff0c4e5550e
0d41144536f635ce716a129d1b41111f0f66c479
src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java
0
1
[ "import org.apache.kafka.clients.consumer.KafkaConsumer;\n", "import org.apache.kafka.clients.producer.KafkaProducer;\n", "import org.apache.kafka.clients.producer.ProducerConfig;\n", "import org.apache.kafka.clients.producer.ProducerRecord;\n", "import org.apache.kafka.common.serialization.StringDeserializ...
[ " * java -cp target/kafka-streams-examples-7.8.12-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-7.8.11-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n", "||||||||| 75ec86f67\n", " * java -cp target/kafka-streams-examples-7.7.12-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n",...
[ " * java -cp target/kafka-streams-examples-7.8.11-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " *\n", " * You should terminate with {@code Ctrl-C}.\n", " */\n", "public class JsonToAvroExampleDriver {\n", "\n", " public static void main(final String[] args) throws IOException {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\...
[ " * java -cp target/kafka-streams-examples-7.8.12-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
false
181ba50905df9fba
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
9a2862528661713d5fe29ad8073a416440ff1d1f
20539a868e2a9facb1825392ad640ff0c4e5550e
0d41144536f635ce716a129d1b41111f0f66c479
src/main/java/io/confluent/examples/streams/PageViewRegionExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n...
[ " * $ java -cp target/kafka-streams-examples-7.8.12-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.8.11-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n", "||||||||| 75ec86f67\n", " * $ java -cp target/kafka-streams-examples-7.7.12-standalone.jar io.confluent.examples.streams.PageViewRegionExamp...
[ " * $ java -cp target/kafka-streams-examples-7.8.11-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-console-consumer --topic PageViewsByRegion --from-beginning \\\n", " * --bootstrap-server localhost:9092 ...
[ " * $ java -cp target/kafka-streams-examples-7.8.12-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
false
2361ec4646c2496f
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
9a2862528661713d5fe29ad8073a416440ff1d1f
20539a868e2a9facb1825392ad640ff0c4e5550e
0d41144536f635ce716a129d1b41111f0f66c479
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java
0
2
[ " * {@code WikiFeed} class is auto-generated from its Avro schema by the maven avro plugin. See\n", " * {@code wikifeed.avsc} under {@code src/main/resources/avro/io/confluent/examples/streams/}. <p>\n", " * <br> HOW TO RUN THIS EXAMPLE <p> 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.8.12-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.8.11-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n", "||||||||| 75ec86f67\n", " * $ java -cp target/kafka-streams-examples-7.7.12-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExamp...
[ " * $ java -cp target/kafka-streams-examples-7.8.11-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.8.12-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
false
c3d9ec46516586bf
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
801306994edeb9073e03d07ff07b5d5c421dde05
4cd41a478289708c7ba6035951e7ecc450231d62
c6c403bcc558e5dfd817aa387949cc7a7e861eb5
src/main/java/io/confluent/examples/streams/MapFunctionLambdaExample.java
0
1
[ " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic TextLinesTopic \\...
[ " * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp t...
[ " * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already\n", " * running example application (step 3) will automatically process this input data and write the\n", " * results to the output topics.\n", " * <pre>\n", " * {@code\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.MapFunctionLambdaExample\n" ]
false
7ef96802118035a8
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
801306994edeb9073e03d07ff07b5d5c421dde05
4cd41a478289708c7ba6035951e7ecc450231d62
c6c403bcc558e5dfd817aa387949cc7a7e861eb5
src/main/java/io/confluent/examples/streams/SumLambdaExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n", "...
[ " * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp tar...
[ " * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-console-consumer --topic sum-of-odd-numbers-topic --from-beginning \\\n", " * --bootstrap-server localho...
[ " * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
false
4462dcda234b75da
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
801306994edeb9073e03d07ff07b5d5c421dde05
4cd41a478289708c7ba6035951e7ecc450231d62
c6c403bcc558e5dfd817aa387949cc7a7e861eb5
src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java
0
2
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input/intermediate/output topics used by this example.\n", " * <...
[ " * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp t...
[ " * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link TopArticlesExampleDriver} ...
[ " * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
false
59c75aac963105dc
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
801306994edeb9073e03d07ff07b5d5c421dde05
4cd41a478289708c7ba6035951e7ecc450231d62
c6c403bcc558e5dfd817aa387949cc7a7e861eb5
src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java
0
1
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin...
[ " * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.0.4-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp tar...
[ " * $ java -cp target/kafka-streams-examples-7.1.1-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic \"streams-plaintext-input\" (e.g. via {@code kafka-console-producer}).\n", " * The already running example application (step 3) will automatically process this input data and write the\n", " * results to the output topic \"streams-wor...
[ " * $ java -cp target/kafka-streams-examples-7.1.2-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n" ]
false
a34df949b51f8e78
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
02ee45e7a87b4675f76993cfb3ac0f45f8623011
54d07a26219fb8ed285156688c473fb40c6965f5
a3ea0b234b90529c96735e410095e0d73a09e4e9
src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic.\n", " * <pre>\n", " * {@code\n...
[ " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.13-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.12-stan...
[ " * $ java -cp target/kafka-streams-examples-7.0.10-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-console-consumer --topic PageViewsByRegion --from-beginning \\\n", " * --bootstrap-server localhost:9092 ...
[ " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
false
7104a675164ad537
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
02ee45e7a87b4675f76993cfb3ac0f45f8623011
54d07a26219fb8ed285156688c473fb40c6965f5
a3ea0b234b90529c96735e410095e0d73a09e4e9
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.13-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.12-s...
[ " * $ java -cp target/kafka-streams-examples-7.0.10-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " */\n", "\n", "public class WikipediaFeedAvroExample {\n", "\n", " static final String WIKIPEDIA_FEED = \"WikipediaFeed\";\n", " static final String WIKIPEDIA_STATS = \"WikipediaStats\";\n", "\n", " public static void main(final String[] args) {\n", " final String...
[ " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
false
77ddf17d5553000e
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
02ee45e7a87b4675f76993cfb3ac0f45f8623011
54d07a26219fb8ed285156688c473fb40c6965f5
a3ea0b234b90529c96735e410095e0d73a09e4e9
src/main/java/io/confluent/examples/streams/WordCountLambdaExample.java
0
1
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin...
[ " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.13-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.12-standalon...
[ " * $ java -cp target/kafka-streams-examples-7.0.10-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic \"streams-plaintext-input\" (e.g. via {@code kafka-console-producer}).\n", " * The already running example application (step 3) will automatically process this input data and write the\n", " * results to the output topic \"streams-wor...
[ " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar io.confluent.examples.streams.WordCountLambdaExample\n" ]
false
f598ac1cda0041bc
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
02ee45e7a87b4675f76993cfb3ac0f45f8623011
54d07a26219fb8ed285156688c473fb40c6965f5
a3ea0b234b90529c96735e410095e0d73a09e4e9
src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java
0
1
[ "import org.apache.kafka.clients.producer.ProducerConfig;\n", "import org.apache.kafka.clients.producer.ProducerRecord;\n", "import org.apache.kafka.common.serialization.StringSerializer;\n", "\n", "import java.util.Arrays;\n", "import java.util.List;\n", "import java.util.Properties;\n", "import java...
[ " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.13-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-str...
[ " * $ java -cp target/kafka-streams-examples-7.0.10-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver\n" ]
[ " * }\n", " * </pre>\n", " * You should terminate with Ctrl-C\n", " */\n", "public class WordCountInteractiveQueriesDriver {\n", "\n", " public static void main(final String [] args) throws Exception {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\n", " ...
[ " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver\n" ]
false
e3430ef8444618c5
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
02ee45e7a87b4675f76993cfb3ac0f45f8623011
54d07a26219fb8ed285156688c473fb40c6965f5
a3ea0b234b90529c96735e410095e0d73a09e4e9
src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java
0
2
[ " *\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic TextLinesTopic \\\n", " * --zookeeper localhost:2181 --partitions 3 --replication-factor 1\n", " * }\n", " * </pre>\n", " *\n", " * Note: The above commands are for the Confluent Platform. For Apache Kafk...
[ " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar \\\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.13-0-standalone.jar \\\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.1.12-standalone.jar \\\n", "||||||||||| 19e2141ef\n", " * $ ...
[ " * $ java -cp target/kafka-streams-examples-7.0.10-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070\n", " * }\n", " * </pre>\n", " *\n", " * Here, `7070` sets the port for the REST endpoint that will be used by this application instance.\n", " *\n", " * Then, in a separate terminal, run the second instanc...
[ " * $ java -cp target/kafka-streams-examples-7.0.11-0-standalone.jar \\\n" ]
false
c95b6aee7f4d6130
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
691e9908af257ad78fbf52593e80afbafa948363
9542de4a05e5547631f652832d8fdbaf6d31b582
49f0e86ab3c52032f31274442ad027012e198690
src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java
0
2
[ " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic order \\\n", " * --zookeeper localhost:2181 --partitions 4 --replication-factor 1\n", " * $ bin/kafka-topics --create --topic customer \\\n", " * --zookeeper localhost:2181 --partitions 3 --replicati...
[ " * $ java -cp target/kafka-streams-examples-5.4.6-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-5.3.7-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-5.3.6-standa...
[ " * $ java -cp target/kafka-streams-examples-5.4.5-standalone.jar io.confluent.examples.streams.GlobalKTablesExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n"...
[ " * $ java -cp target/kafka-streams-examples-5.4.6-SNAPSHOT-standalone.jar io.confluent.examples.streams.GlobalKTablesExample\n" ]
false
de1adcaf169a7c11
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
691e9908af257ad78fbf52593e80afbafa948363
9542de4a05e5547631f652832d8fdbaf6d31b582
49f0e86ab3c52032f31274442ad027012e198690
src/main/java/io/confluent/examples/streams/SumLambdaExample.java
0
2
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin...
[ " * $ java -cp target/kafka-streams-examples-5.4.6-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-5.3.7-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-5.3.6-standalone...
[ " * $ java -cp target/kafka-streams-examples-5.4.5-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n", "...
[ " * $ java -cp target/kafka-streams-examples-5.4.6-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
false
17cefd8007fa926c
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
691e9908af257ad78fbf52593e80afbafa948363
9542de4a05e5547631f652832d8fdbaf6d31b582
49f0e86ab3c52032f31274442ad027012e198690
src/main/java/io/confluent/examples/streams/SumLambdaExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n", "...
[ " * $ java -cp target/kafka-streams-examples-5.4.6-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-5.3.7-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-5.3.6-stan...
[ " * $ java -cp target/kafka-streams-examples-5.4.5-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * 5) Inspect the resulting data in the output topics, e.g. via {@code kafka-console-consumer}.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-console-consumer --topic sum-of-odd-numbers-topic --from-beginning \\\n", " * --bootstrap-server localho...
[ " * $ java -cp target/kafka-streams-examples-5.4.6-SNAPSHOT-standalone.jar io.confluent.examples.streams.SumLambdaExampleDriver\n" ]
false
e87f9e56ae54d4db
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
691e9908af257ad78fbf52593e80afbafa948363
9542de4a05e5547631f652832d8fdbaf6d31b582
49f0e86ab3c52032f31274442ad027012e198690
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java
0
1
[ "import org.apache.kafka.common.serialization.StringSerializer;\n", "\n", "import java.io.IOException;\n", "import java.time.Duration;\n", "import java.util.Collections;\n", "import java.util.Properties;\n", "import java.util.Random;\n", "import java.util.stream.IntStream;\n", "\n", "/**\n", " *...
[ " * java -cp target/kafka-streams-examples-5.4.6-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-5.3.7-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-5.3.6-...
[ " * java -cp target/kafka-streams-examples-5.4.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " *\n", " * You should terminate with {@code Ctrl-C}.\n", " */\n", "public class WikipediaFeedAvroExampleDriver {\n", "\n", " public static void main(final String[] args) {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\n", " f...
[ " * java -cp target/kafka-streams-examples-5.4.6-SNAPSHOT-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
false
add91e9823234865
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
821faca22c0d13fd9a18f0d3915b7d40bb048e43
1381875a7b92f6ed574be6f253ddd6fe26cbf4c9
85a707c55e67b0592374b7a5046aecac503d1154
src/main/java/io/confluent/examples/streams/ApplicationResetExample.java
0
2
[ " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input, intermediate, and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic my...
[ " * $ java -cp target/kafka-streams-examples-7.8.11-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.7.12-standalone.jar io.confluent.examples.streams.ApplicationResetExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.7.12-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}).\n", " * The already running example application (step 3) will automatically process this input data and write the results to the output topics.\n", " * <pre>\n", " * {@code\n", " * # Star...
[ " * $ java -cp target/kafka-streams-examples-7.8.11-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample\n" ]
false
1dbc639bce531e31
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
821faca22c0d13fd9a18f0d3915b7d40bb048e43
1381875a7b92f6ed574be6f253ddd6fe26cbf4c9
85a707c55e67b0592374b7a5046aecac503d1154
src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java
0
2
[ " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic order \\\n", " * --zookeeper localhost:2181 --partitions 4 --replication-factor 1\n", " * $ bin/kafka-topics --create --topic customer \\\n", " * --zookeeper localhost:2181 --partitions 3 --replicati...
[ " * $ java -cp target/kafka-streams-examples-7.8.11-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.7.12-standalone.jar io.confluent.examples.streams.GlobalKTablesExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.7.12-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * ...
[ " * $ java -cp target/kafka-streams-examples-7.8.11-0-standalone.jar io.confluent.examples.streams.GlobalKTablesExample\n" ]
false
335e852b4faf7530
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
821faca22c0d13fd9a18f0d3915b7d40bb048e43
1381875a7b92f6ed574be6f253ddd6fe26cbf4c9
85a707c55e67b0592374b7a5046aecac503d1154
src/main/java/io/confluent/examples/streams/PageViewRegionExample.java
0
2
[ " * <p>\n", " * 2) Create the input/intermediate/output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic PageViews \\\n", " * --zookeeper localhost:2181 --partitions 1 --replication-factor 1\n", " * $ bin/kafka-topics --create --top...
[ " * $ java -cp target/kafka-streams-examples-7.8.11-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.7.12-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.7.12-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n...
[ " * $ java -cp target/kafka-streams-examples-7.8.11-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
false
137a52173a857fe7
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
821faca22c0d13fd9a18f0d3915b7d40bb048e43
1381875a7b92f6ed574be6f253ddd6fe26cbf4c9
85a707c55e67b0592374b7a5046aecac503d1154
src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic.\n", " * <pre>\n", " * {@code\n...
[ " * $ java -cp target/kafka-streams-examples-7.8.11-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.7.12-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.7.12-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * 5) Inspect the resulting data in the output topic, e.g. via {@code kafka-console-consumer}.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-console-consumer --topic PageViewsByRegion --from-beginning \\\n", " * --bootstrap-server localhost:9092 ...
[ " * $ java -cp target/kafka-streams-examples-7.8.11-0-standalone.jar io.confluent.examples.streams.PageViewRegionExampleDriver\n" ]
false
c0ef27347a35e251
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
821faca22c0d13fd9a18f0d3915b7d40bb048e43
1381875a7b92f6ed574be6f253ddd6fe26cbf4c9
85a707c55e67b0592374b7a5046aecac503d1154
src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesDriver.java
0
1
[ "import org.apache.kafka.clients.producer.ProducerConfig;\n", "import org.apache.kafka.clients.producer.ProducerRecord;\n", "import org.apache.kafka.common.serialization.StringSerializer;\n", "\n", "import java.util.Arrays;\n", "import java.util.List;\n", "import java.util.Properties;\n", "import java...
[ " * $ java -cp target/kafka-streams-examples-7.8.11-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.7.12-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.7.12-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver\n" ]
[ " * }\n", " * </pre>\n", " * You should terminate with Ctrl-C\n", " */\n", "public class WordCountInteractiveQueriesDriver {\n", "\n", " public static void main(final String [] args) throws Exception {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\n", " ...
[ " * $ java -cp target/kafka-streams-examples-7.8.11-0-standalone.jar io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesDriver\n" ]
false
81cb6130482ad0d4
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
b51a0aee496af85687fc53f7d7bfaa49486eb770
0fde37f79e282c63afe239a5487cef24bfdeb700
ed736a4c27c568ed872c5be84b65a34426cbc2c8
src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java
0
2
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input/intermediate/output topics used by this example.\n", " * <...
[ " * $ java -cp target/kafka-streams-examples-7.2.8-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.2.7-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n", "||||||||| 1acf50810\n", " * $ java -cp target/kafka-streams-examples-6.1.13-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExampl...
[ " * $ java -cp target/kafka-streams-examples-7.2.7-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link TopArticlesExampleDriver} ...
[ " * $ java -cp target/kafka-streams-examples-7.2.8-0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
false
b442fa5d9de490fd
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
b51a0aee496af85687fc53f7d7bfaa49486eb770
0fde37f79e282c63afe239a5487cef24bfdeb700
ed736a4c27c568ed872c5be84b65a34426cbc2c8
src/main/java/io/confluent/examples/streams/interactivequeries/WordCountInteractiveQueriesExample.java
1
2
[ " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7070\n", " * }\n", " * </pre>\n", " *\n", " * Here, `7070` sets the port for the REST endpoint that will be used by this application instance.\n", " *\n", " * Then, in a separate terminal, run the second instanc...
[ " * $ java -cp target/kafka-streams-examples-7.2.8-0-standalone.jar \\\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-7.2.7-standalone.jar \\\n", "||||||||| 1acf50810\n", " * $ java -cp target/kafka-streams-examples-6.1.13-standalone.jar \\\n", "=========\n", " * $ java -cp target/kafka-streams-examples-6.1.14-0-standalone.jar \\\n", "...
[ " * $ java -cp target/kafka-streams-examples-7.2.7-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.interactivequeries.WordCountInteractiveQueriesExample 7071\n", " * }\n", " * </pre>\n", " *\n", " *\n", " * 4) Write some input data to the source topics (e.g. via {@link WordCountInteractiveQueriesDriver}). The\n", " * already running example application (step 3) ...
[ " * $ java -cp target/kafka-streams-examples-7.2.8-0-standalone.jar \\\n" ]
false
e053c151a8e568d9
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
653b1435b75ed947ef475692574ed9b0b0049867
a0e37875baddd4f0b8e2e57fc18ca6b3ab01ced2
5e9a1f926ec1bccf146eae7d7b97745849ba8f26
src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java
0
1
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin...
[ " * $ java -cp target/kafka-streams-examples-7.2.9-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.1.11-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.1.11-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
[ " * }</pre>\n", " * <p>\n", " * 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already\n", " * running example application (step 3) will automatically process this input data and write the\n", " * results to the output topic.\n", " * <pre>\n", " * {@code\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.2.9-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
false
43dce0d1ec5c1f55
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
653b1435b75ed947ef475692574ed9b0b0049867
a0e37875baddd4f0b8e2e57fc18ca6b3ab01ced2
5e9a1f926ec1bccf146eae7d7b97745849ba8f26
src/main/java/io/confluent/examples/streams/GlobalKTablesExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link GlobalKTablesAndStoresExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * ...
[ " * $ java -cp target/kafka-streams-examples-7.2.9-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.1.11-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.1.11-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " * <p>\n", " * 5) Once you're done with your experiments, you can stop this example via {@code Ctrl-C}. If needed,\n", " * also stop the Confluent Schema Registry ({@code Ctrl-C}), then stop the Kafka broker ({@code Ctrl-C}), and\n", " * only then stop the ZooKeeper instance ({@c...
[ " * $ java -cp target/kafka-streams-examples-7.2.9-0-standalone.jar io.confluent.examples.streams.GlobalKTablesAndStoresExampleDriver\n" ]
false
d43ef1435d16c071
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
653b1435b75ed947ef475692574ed9b0b0049867
a0e37875baddd4f0b8e2e57fc18ca6b3ab01ced2
5e9a1f926ec1bccf146eae7d7b97745849ba8f26
src/main/java/io/confluent/examples/streams/TopArticlesLambdaExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link TopArticlesExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link TopArticlesExampleDriver} ...
[ " * $ java -cp target/kafka-streams-examples-7.2.9-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.1.11-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.1.11-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " */\n", "public class TopArticlesLambdaExample {\n", "\n", " static final String TOP_NEWS_PER_INDUSTRY_TOPIC = \"TopNewsPerIndustry\";\n", " static final String PAGE_VIEWS = \"PageViews\";\n", " static final Duration windowSize = Duration.ofHours(1);\n", "\n", " priva...
[ " * $ java -cp target/kafka-streams-examples-7.2.9-0-standalone.jar io.confluent.examples.streams.TopArticlesExampleDriver\n" ]
false
f0fd368c23823b54
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
653b1435b75ed947ef475692574ed9b0b0049867
a0e37875baddd4f0b8e2e57fc18ca6b3ab01ced2
5e9a1f926ec1bccf146eae7d7b97745849ba8f26
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExample.java
0
2
[ " * {@code WikiFeed} class is auto-generated from its Avro schema by the maven avro plugin. See\n", " * {@code wikifeed.avsc} under {@code src/main/resources/avro/io/confluent/examples/streams/}. <p>\n", " * <br> HOW TO RUN THIS EXAMPLE <p> 1) Start Zookeeper, Kafka, and Confluent Schema Registry. Please\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.2.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.1.11-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.1.11-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.2.9-0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExample\n" ]
false
79de6cdcd47e0b61
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
25f86043d22184107470b75a1a8f00669b29c470
ac268673a6b974729fb701aa5db72ad5396042d7
09a3acaf72f3697c6ed72eab992a0af096219dd4
src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java
0
1
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin...
[ " * $ java -cp target/kafka-streams-examples-7.3.7-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.2.14-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.2.13-st...
[ " * $ java -cp target/kafka-streams-examples-7.3.6-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
[ " * }</pre>\n", " * <p>\n", " * 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}. The already\n", " * running example application (step 3) will automatically process this input data and write the\n", " * results to the output topic.\n", " * <pre>\n", " * {@code\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.3.7-0-standalone.jar io.confluent.examples.streams.AnomalyDetectionLambdaExample\n" ]
false
1aa52a9145899024
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
25f86043d22184107470b75a1a8f00669b29c470
ac268673a6b974729fb701aa5db72ad5396042d7
09a3acaf72f3697c6ed72eab992a0af096219dd4
src/main/java/io/confluent/examples/streams/ApplicationResetExample.java
1
2
[ " * it will reprocess its input data by re-reading the input topic.\n", " * To reset your application you must run:\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-streams-application-reset --application-id application-reset-demo \\\n", " * --input-topics my-input-to...
[ " * $ java -cp target/kafka-streams-examples-7.3.7-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.2.14-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-e...
[ " * $ java -cp target/kafka-streams-examples-7.3.6-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset\n" ]
[ " * }</pre>\n", " * 9) If your console consumer (from step 5) is still running, you should see the same output data again.\n", " * If it was stopped and you restart it, if will print the result \"twice\".\n", " * Resetting an application does not modify output topics, thus, for this example, the output topic ...
[ " * $ java -cp target/kafka-streams-examples-7.3.7-0-standalone.jar io.confluent.examples.streams.ApplicationResetExample localhost:9092 --reset\n" ]
false
74fef1440d86e3cc
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
25f86043d22184107470b75a1a8f00669b29c470
ac268673a6b974729fb701aa5db72ad5396042d7
09a3acaf72f3697c6ed72eab992a0af096219dd4
src/main/java/io/confluent/examples/streams/JsonToAvroExampleDriver.java
0
1
[ "import org.apache.kafka.clients.consumer.KafkaConsumer;\n", "import org.apache.kafka.clients.producer.KafkaProducer;\n", "import org.apache.kafka.clients.producer.ProducerConfig;\n", "import org.apache.kafka.clients.producer.ProducerRecord;\n", "import org.apache.kafka.common.serialization.StringDeserializ...
[ " * java -cp target/kafka-streams-examples-7.3.7-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-6.2.14-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * java -cp target/kafka-streams-examples-6.2.13-standalone.j...
[ " * java -cp target/kafka-streams-examples-7.3.6-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " *\n", " * You should terminate with {@code Ctrl-C}.\n", " */\n", "public class JsonToAvroExampleDriver {\n", "\n", " public static void main(final String[] args) throws IOException {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\...
[ " * java -cp target/kafka-streams-examples-7.3.7-0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
false
9655399393198f26
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
25f86043d22184107470b75a1a8f00669b29c470
ac268673a6b974729fb701aa5db72ad5396042d7
09a3acaf72f3697c6ed72eab992a0af096219dd4
src/main/java/io/confluent/examples/streams/SumLambdaExample.java
0
2
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin...
[ " * $ java -cp target/kafka-streams-examples-7.3.7-0-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
[ "<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.2.14-0-standalone.jar io.confluent.examples.streams.SumLambdaExample\n", "||||||||| merged common ancestors\n", "<<<<<<<<<<< Temporary merge branch 1\n", " * $ java -cp target/kafka-streams-examples-6.2.13-standalone.jar ...
[ " * $ java -cp target/kafka-streams-examples-7.3.6-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@link SumLambdaExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n", "...
[ " * $ java -cp target/kafka-streams-examples-7.3.7-0-standalone.jar io.confluent.examples.streams.SumLambdaExample\n" ]
false
b15f6ced2cc81295
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
fd634cba48f7baf45403b637365c58c4fbad4212
766e192eef983b6a24e74c662e71a9400fcb3df2
62fd88092f326ab51aa0af027d4157aaa3de324c
src/main/java/io/confluent/examples/streams/PageViewRegionExample.java
0
2
[ " * <p>\n", " * 2) Create the input/intermediate/output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic PageViews \\\n", " * --zookeeper localhost:2181 --partitions 1 --replication-factor 1\n", " * $ bin/kafka-topics --create --top...
[ " * $ java -cp target/kafka-streams-examples-8.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-8.0.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-8.0.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic.\n", " * <pre>\n", " * {@code\n...
[ " * $ java -cp target/kafka-streams-examples-8.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
false
c7de57cdad85d9bb
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
fd634cba48f7baf45403b637365c58c4fbad4212
766e192eef983b6a24e74c662e71a9400fcb3df2
62fd88092f326ab51aa0af027d4157aaa3de324c
src/main/java/io/confluent/examples/streams/PageViewRegionLambdaExample.java
0
2
[ " * <p>\n", " * 2) Create the input/intermediate/output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin/kafka-topics --create --topic PageViews \\\n", " * --zookeeper localhost:2181 --partitions 1 --replication-factor 1\n", " * $ bin/kafka-topics --create --top...
[ " * $ java -cp target/kafka-streams-examples-8.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-8.0.1-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-8.0.3-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link PageViewRegionExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic.\n", " * <pre>\n", " * {@code\n...
[ " * $ java -cp target/kafka-streams-examples-8.1.0-0-standalone.jar io.confluent.examples.streams.PageViewRegionLambdaExample\n" ]
false
66492813d916fa83
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
fd634cba48f7baf45403b637365c58c4fbad4212
766e192eef983b6a24e74c662e71a9400fcb3df2
62fd88092f326ab51aa0af027d4157aaa3de324c
src/main/java/io/confluent/examples/streams/SecureKafkaStreamsExample.java
0
1
[ " * Zookeeper Client will go to AUTH_FAILED state.\n", " * Exception in thread \"main\" org.I0Itec.zkclient.exception.ZkAuthFailedException: Authentication\n", " * failure\n", " * }</pre>\n", " * If this happens, just wait a minute so that ZooKeeper can finish its startup, then try again.\n", " * <p>\n"...
[ " * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-8.1.0-0-standalone.jar \\\n" ]
[ " * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-8.0.1-0-standalone.jar \\\n" ]
[ " * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-8.0.3-0-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.SecureKafkaStreamsExample\n", " * }\n", " * </pre>\n", " * 4) Write some input data to the source topic (e.g. via {@code kafka-console-producer}). The already\n", " * running example application (step 3) will automatically process this input data...
[ " * [vagrant@kafka ~]$ java -cp target/kafka-streams-examples-8.1.0-0-standalone.jar \\\n" ]
false
da76a0288e5ba3fc
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
fd634cba48f7baf45403b637365c58c4fbad4212
766e192eef983b6a24e74c662e71a9400fcb3df2
62fd88092f326ab51aa0af027d4157aaa3de324c
src/main/java/io/confluent/examples/streams/interactivequeries/kafkamusic/KafkaMusicExampleDriver.java
0
1
[ "import java.util.Random;\n", "\n", "import java.io.BufferedReader;\n", "import java.io.InputStream;\n", "import java.io.InputStreamReader;\n", "import static java.nio.charset.StandardCharsets.UTF_8;\n", "\n", "\n", "\n", "/**\n", " * This is a sample driver for the {@link KafkaMusicExample}.\n"...
[ " * $ java -cp target/kafka-streams-examples-8.1.0-0-standalone.jar \\\n" ]
[ " * $ java -cp target/kafka-streams-examples-8.0.1-0-standalone.jar \\\n" ]
[ " * $ java -cp target/kafka-streams-examples-8.0.3-0-standalone.jar \\\n" ]
[ " * io.confluent.examples.streams.interactivequeries.kafkamusic.KafkaMusicExampleDriver\n", " * }\n", " * </pre>\n", " * You should terminate with Ctrl-C\n", " */\n", "public class KafkaMusicExampleDriver {\n", "\n", " public static void main(final String [] args) throws Exception {\n", " f...
[ " * $ java -cp target/kafka-streams-examples-8.1.0-0-standalone.jar \\\n" ]
false
ab8bfc482d113c2a
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
00dc9be5fc3aedccfdcd3e4da100f0685f2f86e2
893ce7c5bb09b879f61e27c551f7e2578ef44e7a
aebac85601bb3ab0f71a0732b0f50b6b32f881a3
src/main/java/io/confluent/examples/streams/JsonToAvroExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link JsonToAvroExampleDriver}). The\n", " * already running example application (step 3) will automatically process this input data and write\n", " * the results to the output topic. The {@link JsonToAvroExampleDriver} wi...
[ " * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " */\n", "public class JsonToAvroExample {\n", "\n", " static final String JSON_SOURCE_TOPIC = \"json-source\";\n", " static final String AVRO_SINK_TOPIC = \"avro-sink\";\n", "\n", " public static void main(final String[] args) {\n", " final String bootstrapServers =...
[ " * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.JsonToAvroExampleDriver\n" ]
false
0df94bc6b56fa0b5
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
00dc9be5fc3aedccfdcd3e4da100f0685f2f86e2
893ce7c5bb09b879f61e27c551f7e2578ef44e7a
aebac85601bb3ab0f71a0732b0f50b6b32f881a3
src/main/java/io/confluent/examples/streams/TopArticlesExampleDriver.java
0
1
[ "\n", "import java.io.IOException;\n", "import java.io.InputStream;\n", "import java.time.Duration;\n", "import java.util.Collections;\n", "import java.util.Properties;\n", "import java.util.Random;\n", "import java.util.stream.IntStream;\n", "\n", "/**\n", " * This is a sample driver for the {@...
[ " * java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ " * java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ " * java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " *\n", " * You should terminate with {@code Ctrl-C}.\n", " */\n", "public class TopArticlesExampleDriver {\n", "\n", " public static void main(final String[] args) throws IOException {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";...
[ " * java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.TopArticlesLambdaExample\n" ]
false
0f9a71d1489dbc20
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
00dc9be5fc3aedccfdcd3e4da100f0685f2f86e2
893ce7c5bb09b879f61e27c551f7e2578ef44e7a
aebac85601bb3ab0f71a0732b0f50b6b32f881a3
src/main/java/io/confluent/examples/streams/UserRegionLambdaExample.java
0
1
[ " * HOW TO RUN THIS EXAMPLE\n", " * <p>\n", " * 1) Start Zookeeper and Kafka. Please refer to <a href='http://docs.confluent.io/current/quickstart.html#quickstart'>QuickStart</a>.\n", " * <p>\n", " * 2) Create the input and output topics used by this example.\n", " * <pre>\n", " * {@code\n", " * $ bin...
[ " * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample\n" ]
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@code kafka-console-producer}). The already\n", " * running example application (step 3) will automatically process this input data and write the\n", " * results to the output topic.\n", " * <pre>\n", " * {@code\n", ...
[ " * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.UserRegionLambdaExample\n" ]
false
25c40ab07967c2b0
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
00dc9be5fc3aedccfdcd3e4da100f0685f2f86e2
893ce7c5bb09b879f61e27c551f7e2578ef44e7a
aebac85601bb3ab0f71a0732b0f50b6b32f881a3
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroExampleDriver.java
0
1
[ "import org.apache.kafka.common.serialization.StringDeserializer;\n", "import org.apache.kafka.common.serialization.StringSerializer;\n", "\n", "import java.time.Duration;\n", "import java.util.Collections;\n", "import java.util.Properties;\n", "import java.util.Random;\n", "import java.util.stream.In...
[ " * java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " *\n", " * You should terminate with {@code Ctrl-C}.\n", " */\n", "public class WikipediaFeedAvroExampleDriver {\n", "\n", " public static void main(final String[] args) {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\n", " f...
[ " * java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
false
bbe43bd5c36ea40b
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
00dc9be5fc3aedccfdcd3e4da100f0685f2f86e2
893ce7c5bb09b879f61e27c551f7e2578ef44e7a
aebac85601bb3ab0f71a0732b0f50b6b32f881a3
src/main/java/io/confluent/examples/streams/WikipediaFeedAvroLambdaExample.java
1
2
[ " * }\n", " * </pre>\n", " * 4) Write some input data to the source topics (e.g. via {@link WikipediaFeedAvroExampleDriver}).\n", " * The already running example application (step 3) will automatically process this input data and\n", " * write the results to the output topic. The {@link WikipediaFeedAvroExa...
[ " * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.0.4-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * $ java -cp target/kafka-streams-examples-7.0.5-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
[ " * }\n", " * </pre>\n", " */\n", "public class WikipediaFeedAvroLambdaExample {\n", "\n", " public static void main(final String[] args) {\n", " final String bootstrapServers = args.length > 0 ? args[0] : \"localhost:9092\";\n", " final String schemaRegistryUrl = args.length > 1 ? args[1] : \"...
[ " * $ java -cp target/kafka-streams-examples-7.1.0-standalone.jar io.confluent.examples.streams.WikipediaFeedAvroExampleDriver\n" ]
false
922d7a153cba2a0d
[ "A1" ]
side A
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
b9e52eb685f24d3251fc57de953f322d4eb5a9bd
fa948416f44f394b9071253415f2b6c56ceec934
ce18055d3700dae91c512e1433a2dde0b0d78a5e
src/main/java/io/confluent/examples/streams/microservices/InventoryService.java
1
3
[ "\n", " //Create a store to reserve inventory whilst the order is processed.\n", " //This will be prepopulated from Kafka before the service starts processing\n" ]
[ " StoreBuilder reservedStock = Stores\n", " .keyValueStoreBuilder(Stores.persistentKeyValueStore(RESERVED_STOCK_STORE_NAME),\n", " Topics.WAREHOUSE_INVENTORY.keySerde(), Serdes.Long())\n", " .withLoggingEnabled(new HashMap<>());\n" ]
[ " StoreBuilder reservedStock = Stores\n", " .keyValueStoreBuilder(Stores.persistentKeyValueStore(RESERVED_STOCK_STORE_NAME),\n", " Topics.WAREHOUSE_INVENTORY.keySerde(), Serdes.Long())\n", " .withLoggingEnabled(new HashMap<>());\n" ]
[ " final StoreBuilder reservedStock = Stores\n", " .keyValueStoreBuilder(Stores.persistentKeyValueStore(RESERVED_STOCK_STORE_NAME),\n", " Topics.WAREHOUSE_INVENTORY.keySerde(), Serdes.Long())\n", " .withLoggingEnabled(new HashMap<>());\n" ]
[ " builder.addStateStore(reservedStock);\n", "\n", " //First change orders stream to be keyed by Product (so we can join with warehouse inventory)\n", " orders.selectKey((id, order) -> order.getProduct())\n", " //Limit to newly created orders\n", " .filter((id, order) -> OrderState.CREAT...
[ " final StoreBuilder reservedStock = Stores\n", " .keyValueStoreBuilder(Stores.persistentKeyValueStore(RESERVED_STOCK_STORE_NAME),\n", " Topics.WAREHOUSE_INVENTORY.keySerde(), Serdes.Long())\n", " .withLoggingEnabled(new HashMap<>());\n" ]
false
2f0f69eba545198d
[ "B1", "A2", "A3", "A4" ]
mix of lines
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0
confluentinc/kafka-streams-examples
b9e52eb685f24d3251fc57de953f322d4eb5a9bd
fa948416f44f394b9071253415f2b6c56ceec934
ce18055d3700dae91c512e1433a2dde0b0d78a5e
src/main/java/io/confluent/examples/streams/microservices/OrderDetailsService.java
1
2
[ " executorService.awaitTermination(1000, TimeUnit.MILLISECONDS);\n", " } catch (final InterruptedException e) {\n", " log.info(\"Failed to stop \" + getClass().getSimpleName() + \" in 1000ms\");\n", " }\n", " log.info(getClass().getSimpleName() + \" was stopped\");\n", " }\n", "\n", ...
[ " public void setEosEnabled(boolean value) {\n", " this.eosEnabled = value;\n", " }\n", "\n", " public static void main(String[] args) throws Exception {\n", " OrderDetailsService service = new OrderDetailsService();\n" ]
[ " public static void main(String[] args) throws Exception {\n", " OrderDetailsService service = new OrderDetailsService();\n" ]
[ " public static void main(final String[] args) throws Exception {\n", " final OrderDetailsService service = new OrderDetailsService();\n" ]
[ " service.start(MicroserviceUtils.parseArgsAndConfigure(args), \"/tmp/kafka-streams\");\n", " addShutdownHookAndBlock(service);\n", " }\n", "}\n" ]
[ " public void setEosEnabled(final boolean value) {\n", " this.eosEnabled = value;\n", " }\n", "\n", " public static void main(final String[] args) throws Exception {\n", " final OrderDetailsService service = new OrderDetailsService();\n" ]
false
6d8d9953a3cdef23
null
needs new code
{ "test_file": false, "benchmark_size": true, "sides_differ_only_in_spacing": false }
Apache-2.0