You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a section in the Pulsar client authentication reference guide
that warns users of the lack of relaxed binding for authentication
parameter map keys.
This lack of relaxed binding prevents users from setting these auth
parameters directly via env var as the casing is lost in translation.
The commit adds a link in this area of the reference guide to a
workaround in the Spring Pulsar framework reference guide.
See gh-39630
Copy file name to clipboardExpand all lines: spring-boot-project/spring-boot-docs/src/docs/asciidoc/messaging/pulsar.adoc
+3
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,9 @@ Spring Boot will not attempt any kind of relaxed binding for these entries.
50
50
51
51
For example, if you want to configure the issuer url for the `AuthenticationOAuth2` auth plugin you must use `+spring.pulsar.client.authentication.param.issuerUrl+`.
52
52
If you use other forms, such as `issuerurl` or `issuer-url`, the setting will not be applied to the plugin.
53
+
54
+
This lack of relaxed binding also makes using environment variables for authentication parameters problematic because the case sensitivity is lost during translation.
55
+
If you use environment variables for the parameters then you will need to follow {spring-pulsar-docs}reference/pulsar.html#client-authentication-env-vars[these steps] in the Spring for Apache Pulsar reference documentation for it to work properly.
0 commit comments