Repository navigation
docs: use the SPRING_DATA_REDIS_* variables for the message broker - #225
Merged
Merged
Conversation
The platform enables Redis only when spring.data.redis.host is set. The documented SPRING_REDIS_* variables bind to the pre-Spring-Boot-3 keys and are ignored, so instances configured that way silently run without Redis.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The "Message Broker Configuration" table lists
SPRING_REDIS_HOSTand friends. Since Spring Boot 3 these properties arespring.data.redis.*, and the platform does not include the properties migrator or any mapping of its own. Every Redis bean is conditional onspring.data.redis.host(PubSubConfiguration,RateLimitConfiguration), and our own SaaS deployments setspring.data.redis.host/spring.data.redis.password.An on-prem installation configured as documented therefore runs every instance on the in-memory pub/sub without any error: experiments fail whenever an agent is connected to another instance, and UI updates are lost.
Change
SPRING_DATA_REDIS_HOST,_PORT,_USERNAME,_PASSWORD,_SSL_ENABLEDand_CLIENT_NAME.SPRING_REDIS_SSLvariant for platform <= 1.0.96.SPRING_REDIS_*names are ignored, for installations that followed the previous table.