I am using Kafka and Springboot in my project, Now here I have external Kafka cluster and SpringBoot microservice project.
Using the yml file I successfully create Kafka Producer and consumer and then both application and kafka communicate perfectly fine.
Now I want to use embedded kafka in my sprintboot project. Something like embedded following Activemq code.
spring:
# Embedded ActiveMQ Configuration Example
activemq:
broker-url: vm://embedded?broker.persistent=false,useShutdownHook=false
in-memory: true
non-blocking-redelivery: true
I googled and read lot of article on the same but could not get the clear picture. Here I do not want this embedded server only for junit testing but
want to functional testing without setting any external Kafka component in my Eco System.
I really do not know how to do that , could someone help me on the same.
Thanks in Advance