我使用的是springboot 2.5.4和spring-kafka的相关版本。Springboot向配置的client-id添加一个后缀。例如,如果您在application.properties中设置此配置: spring.kafka.client-id=siavash 您可以看到它使用siavash-0与代理进行通信,这在文档中也有提到:search word "suffix" in this page
我正在尝试通过SpringBootApplication.As连接到Marklogic,这是spring应用程序的一部分,属性是在application.properties文件中定义的。我在属性文件中给出了以下四个属性,并在运行应用程序时尝试在配置file.But中使用它,它无法识别marklogic数据库并抛出异常为 "Failed to configure a DataSource;
import org.springframework.boot.autoconfigure.EnableAutoConfig