Hi Ignacio, not sure if I understood your question, but have you tried the spring EmbedKafka feature?
Regards On Thu, Jun 11, 2020 at 2:47 AM ignacio gioya <ignacio.gi...@gmail.com> wrote: > Hi, > i have an application that use kafka broker, but when i run junit test, > springboot try to run kafka listeners, and i am forced to run kafka broker, > unnecessary. > > I question you about how I can disable kafka when test are executed. > > I have tried with > @TypeExcludeFilters(KafkaListenersTypeExcludeFilter.class) > in each test class but it does not work. > > Sorry for my english, it is not my native language jeje. > > Thank you! >