This repo contains a proof of concept using the subject name strategy setting TopicRecordNameStrategy
(see documentation) in Kafka Java Producer and Consumer API.
mvn clean package
- Start Kafka Broker, Zookeeper and Schema Registry locally. The quickest way is to use Landoop/fast-data-dev:
docker run --rm --net=host landoop/fast-data-dev
- Start the producer application:
java -jar ./target/producer-app.jar
- Start the consumer application:
java -jar ./target/consumer-app.jar