Kafka - Advanced Stream Processing
Given this code snippet using
What will be printed if the topology forwards input to output unchanged?
TopologyTestDriver to process a record:var driver = new TopologyTestDriver(topology, props);
var inputTopic = driver.createInputTopic("input", new StringSerializer(), new StringSerializer());
inputTopic.pipeInput("key1", "value1");
var outputTopic = driver.createOutputTopic("output", new StringDeserializer(), new StringDeserializer());
var result = outputTopic.readKeyValue();
System.out.println(result.key + ":" + result.value);What will be printed if the topology forwards input to output unchanged?
