import de.juplo.kafka.wordcount.counter.TestCounter;
import de.juplo.kafka.wordcount.counter.TestWord;
-import de.juplo.kafka.wordcount.query.TestRanking;
-import de.juplo.kafka.wordcount.query.TestUser;
import lombok.extern.slf4j.Slf4j;
import org.apache.kafka.streams.TestInputTopic;
import org.apache.kafka.streams.TestOutputTopic;
TopologyTestDriver testDriver;
TestInputTopic<TestWord, TestCounter> in;
- TestOutputTopic<TestUser, TestRanking> out;
@BeforeEach
{
Topology topology = PopularStreamProcessor.buildTopology(
IN,
- OUT,
Stores.inMemoryKeyValueStore(STORE_NAME));
testDriver = new TopologyTestDriver(topology, serializationConfig());
package de.juplo.kafka.wordcount.query;
-import de.juplo.kafka.wordcount.top10.Entry;
+import de.juplo.kafka.wordcount.popular.Entry;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;