Replies: 1 comment
-
The initializer simply configures the global static We don't know the client internals intimately here; you might needs to set the config via the consumer/producer properties instead. https://kafka.apache.org/documentation/#configuration I see properties about sasl renewal there; but you'd be better asking a wider audience on Stack Overflow on on one of the Apache Kafka Mailing lists. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a project which connects to a secure Kafka using SCRAM user credentials. Instead of hardcoding user password into the application.yaml, I'm using a more dynamic approach where I get the password from a vault service. This mechanism checks for changes to the password every N seconds and updates properties (+ executes callbacks) if needed.
If I refresh the
KafkaJaasLoginModuleInitializer
bean after a password change, how does it affect the KafkaClient? I tried to read through the source code but I'm not sure whether this login procedure only takes place during initialization of connections or elsewhere.Beta Was this translation helpful? Give feedback.
All reactions