Skip to content

Commit 642bd69

Browse files
onobcmhalbritter
authored andcommitted
Add link to Pulsar env var workaround
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
1 parent 057432c commit 642bd69

File tree

1 file changed

+3
-0
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/asciidoc/messaging

1 file changed

+3
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/messaging/pulsar.adoc

+3
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ Spring Boot will not attempt any kind of relaxed binding for these entries.
5050
5151
For example, if you want to configure the issuer url for the `AuthenticationOAuth2` auth plugin you must use `+spring.pulsar.client.authentication.param.issuerUrl+`.
5252
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.
5356
====
5457

5558

0 commit comments

Comments
 (0)