counter: 1.3.0 - (RED) Made `CounterApplicationIT` fail too
authorKai Moritz <kai@juplo.de>
Wed, 5 Jun 2024 19:44:26 +0000 (21:44 +0200)
committerKai Moritz <kai@juplo.de>
Sat, 8 Jun 2024 11:33:30 +0000 (13:33 +0200)
* Validate with: `mvn test -Dtest=CounterApplicationI`
* Turning on the caching forces the application, to serialize and
  deserialize _every_ message, hence, revealing the bug, that was only
  detected by the `CounterStreamProcessorToplogyTest` before, that always
  behaves like this.

src/test/java/de/juplo/kafka/wordcount/counter/CounterApplicationIT.java

index 1bfceed..334cd05 100644 (file)
@@ -46,7 +46,6 @@ import static org.awaitility.Awaitility.await;
                                "logging.level.de.juplo=DEBUG",
                                "juplo.wordcount.counter.bootstrap-server=${spring.embedded.kafka.brokers}",
                                "juplo.wordcount.counter.commit-interval=0",
-                               "juplo.wordcount.counter.cacheMaxBytes=0",
                                "juplo.wordcount.counter.input-topic=" + TOPIC_IN,
                                "juplo.wordcount.counter.output-topic=" + TOPIC_OUT })
 @EmbeddedKafka(topics = { TOPIC_IN, TOPIC_OUT })