I have a class that doesn't inherit from anything with a method annotated with @KafkaListener. how to test it with junit

前端 未结 0 684
误落风尘
误落风尘 2020-12-07 14:31

@Component public class KafkaConsumer {

private static Logger logger = Logger.getLogger(KafkaConsumer.class);

@Autowired
private Service service;

@KafkaList         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题