spring-projects / spring-data-redis

Provides support to increase developer productivity in Java when using Redis, a key-value store. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
https://spring.io/projects/spring-data-redis/
Apache License 2.0
1.77k stars 1.17k forks source link

RedisNode creation from bare hostname should assign default port #2928

Closed lukasz-glapinski-exa closed 1 month ago

lukasz-glapinski-exa commented 5 months ago

Current code is expecting node information to not contain port but is not assigning default port to portString variable resulting in exception being thrown.

https://github.com/spring-projects/spring-data-redis/blob/a7d39147cf3f9649b0609a10fc43e5672c732193/src/main/java/org/springframework/data/redis/connection/RedisNode.java#L97

LeeHyungGeol commented 1 month ago

Hi @mp911de. May I handle this issue? I'll create PR within tomorrow.

LeeHyungGeol commented 1 month ago

Fix PR: #3002