我有一个spring引导服务,它通过调用我的auth服务来验证每个请求。现在我正在写一个集成测试。如何在测试自己的API时模拟对身份验证服务的请求?}
SpringBoot filter will read the token from the header and verify that against auth service using restI want to mock that call
为了学习Apache Kafka,我开发了一个SpringBoot应用程序,如果我向调用Kafka发送方法的控制器发送POST请求,它会向KafkaTemplate主题发送消息。如果我这样做了,那么在启动时,我的应用程序的Kafka AdminClient会定期尝试查找broer,但会将此消息发送到控制台
Connection to node -1 could not be established我实现了这里的和这里的建议的修复。但