Added a consumer, that received messages of multiple types works-with-multiple-message-types
authorKai Moritz <kai@juplo.de>
Mon, 6 Jun 2022 15:06:41 +0000 (17:06 +0200)
committerKai Moritz <kai@juplo.de>
Mon, 6 Jun 2022 16:47:52 +0000 (18:47 +0200)
commit581e65e0bb9894480b4e31056d76c9cb678182ae
tree923960270cd4b63a26619a8a51e26ba5b1390cca
parent087641b2e3ba223e9df3c20bfeedbb3b0348761f
Added a consumer, that received messages of multiple types

* The consumer receives messages of type `Foo` and `Bar`.
* Added a test, that verifies, that the consumer can receive messages
  of type `Foo` and `Bar`.
pom.xml
src/main/java/de/juplo/kafka/Bar.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/Foo.java [new file with mode: 0644]
src/main/java/de/juplo/kafka/MultiMessageConsumer.java [new file with mode: 0644]
src/main/resources/application.properties [deleted file]
src/main/resources/application.yml [new file with mode: 0644]
src/test/java/de/juplo/kafka/KafkahandlerApplicationTests.java