import org.springframework.kafka.config.KafkaListenerEndpointRegistry
import org.springframework.kafka.test.utils.ContainerTestUtils
-@SpringBootTest
+@SpringBootTest(classes = KafkaListenerEndpointRegistry.class)
class ConsumerBaseSpec extends MessagingBaseSpec {
@Autowired