Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation of spring.redis.url incorrectly states that it does not override spring.redis.user #36477

Closed
wants to merge 1 commit into from

Conversation

izeye
Copy link
Contributor

@izeye izeye commented Jul 20, 2023

This PR updates Javadoc for the RedisProperties.url field to include username in override targets as it seems to override it.

A Redis URI seems to be able to include other properties like database, but they are not included in override targets. It seems to be inconsistent, but I'm not sure if it's intentional.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 20, 2023
@wilkinsona wilkinsona changed the title Update Javadoc for RedisProperties.url Documentation of spring.redis.url incorrectly states that it does not override spring.redis.user Jul 21, 2023
@wilkinsona
Copy link
Member

When merging forwards, the property becomes spring.data.redis.url.

@wilkinsona
Copy link
Member

Thanks, @izeye.

I'm not sure if the things that Lettuce supports in the URI are standard or Lettuce-specific. I've found https://www.iana.org/assignments/uri-schemes/prov/redis. It includes the database in the URI but it's only provisional and hasn't been updated since 2015.

WDYT, @mp911de?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants