Quarkus - Spring 云配置客户端
Quarkus - Spring Cloud Config Client
我在尝试设置必须发送到 Spring 配置服务器的 header 时遇到此错误。
Unrecognized configuration key "quarkus.spring-cloud-config.headers" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
# application.properties
quarkus.spring-cloud-config.headers="access_token=12345"
我不确定我做错了什么。请帮忙。提前致谢。
您需要使用:
quarkus.spring-cloud-config.headers.access_token=12345
我在尝试设置必须发送到 Spring 配置服务器的 header 时遇到此错误。
Unrecognized configuration key "quarkus.spring-cloud-config.headers" was provided; it will be ignored; verify that the dependency extension for this configuration is set or that you did not make a typo
# application.properties
quarkus.spring-cloud-config.headers="access_token=12345"
我不确定我做错了什么。请帮忙。提前致谢。
您需要使用:
quarkus.spring-cloud-config.headers.access_token=12345