Skip to content

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

Closed
izeye wants to merge 1 commit intospring-projects:mainfrom
izeye:redis-url-javadoc
Closed

Documentation of spring.redis.url incorrectly states that it does not override spring.redis.user#36477
izeye wants to merge 1 commit intospring-projects:mainfrom
izeye:redis-url-javadoc

Conversation

@izeye
Copy link
Copy Markdown
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
Copy Markdown
Member

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

@wilkinsona
Copy link
Copy Markdown
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.

3 participants