Dataset Viewer
Auto-converted to Parquet Duplicate
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
End of preview. Expand in Data Studio

Java merge conflicts

10,480 real merge conflicts from 609 public Java repositories. For each conflict: the two sides, the lines as they were before either branch changed them, and what the developer committed. It is the data that Merge Decision 4B was trained and tested on.

It is part of the Model Training Project. The full account of how it was made and used is at modeltrainingproject.com/models/merge-decision-model.

The splits

Split by repository, so a model is always tested on repositories it never trained on.

Split Conflicts Repositories Merges
train 9,678 549 3,910
validation 400 30 181
test 402 30 188

What the developers did

Kind of answer Share
Kept side A, whole 33.4%
Kept side B, whole 26.4%
Wrote a line that is on neither side 17.5%
Mixed lines from both sides 15.7%
Kept side A, then side B 4.4%
Kept side B, then side A 1.9%
Neither side, or the original lines 0.6%

So 82.5% of the answers can be written as a choice of lines that are already in the conflict.

The fields

The default configuration holds one conflict per line.

Field What it holds
id A short identifier of the conflict
repository The GitHub repository, as owner/name
merge, parent_a, parent_b The merge commit and its two parents. Side A is the branch being merged into, side B the incoming branch.
path The file the conflict is in
conflict_in_file, conflicts_in_file Which conflict of the file this is, from 0, and how many the file has
before, after Up to 20 unchanged lines above and below the conflict
side_a, base, side_b The lines of side A, of the original, and of side B. Every line keeps its line ending.
answer The lines the developer committed in place of the conflict
labels The answer as a choice of lines, such as ["A1", "B2"], when it can be written that way; empty when new code was needed
kind What the developer did: side A, side B, A then B, B then A, mix of lines, needs new code, neither side or the original lines
tags test_file: the file is a test; benchmark_size: the conflict is small enough for the Merge-Bench benchmark; sides_differ_only_in_spacing
windows_line_endings The file had Windows line endings, which were turned into plain ones
licence The licence of the repository the conflict comes from

The prompts configuration holds the prompts the model was trained and scored with. Its training split has 8,132 conflicts: those whose two sides together are at most 14 lines, the benchmark's size, and whose answer turns back into exactly the developer's code. Its validation and test splits hold every conflict. Each prompt shows the five lines above and below and every line of the conflict labelled, with and the answer as KEEP and a list of labels, or NEW and the lines. Its answer field is the developer's code; target is what the model was trained to say.

How it was made

  • Repositories: public Java repositories on GitHub with at least 50 stars and a permissive licence: Apache 2.0, MIT, BSD 3-Clause or BSD 2-Clause. None is among the repositories the Merge-Bench benchmark was built from.
  • Conflicts: each merge commit was replayed with git, with the original lines shown, and the developer's answer was found by matching the unchanged lines around each conflict. On five of the benchmark's own repositories this reproduced 166 of its 167 conflicts and answers exactly.
  • Cleaning: conflicts in generated code were removed, as were conflicts the developer left unresolved, sides longer than 30 lines, exact duplicates, more than 5 conflicts from one merge, and more than 2% of the data from one repository.
  • Mined on: 29 November 2026.

Licence

Every conflict is code from its repository and keeps that repository's licence, which the licence field gives: 4,917 Apache 2.0, 3,822 MIT, 1,144 BSD 3-Clause and 597 BSD 2-Clause. Using a conflict means following its licence, including its notices. repositories.csv lists every repository with its licence.

Limits

  • Java only.
  • 14% of the conflicts found were left out because the developer's answer could not be located. They are likely the ones the developer changed most, so the data leans a little towards simpler answers.
  • The developer's answer is not proof of a correct merge.
  • The test and validation sets are small: about 400 conflicts from 30 repositories each.
Downloads last month
-