You could get Kafka docker compose from this repository
https://github.com/conduktor/kafka-stack-docker-compose
Kafka Avro schema Producer and Consumer without registry
Avro Schemas to work with Coffee Service
Consumer and Producer classes which are using Coffee Order schemas. Two versions implemented: with and without Confluent Service Registry.
This is an example on how to use Kafka Aggregation streams.
Please get more details inside the module README file
Kafka provides Mock classes for Producer, Consumer and Streams to allow unit testing without Kafka. This module shows their use