spring boot app과 redis cluster를 docker로 사용할 때 Redis connection failed 발생
발생문제 redis cluster를 docker로 기동하고 있는데, spring boot app을 docker로 기동해야하는 필요가 생김. redis cluster는 localhost로 연결하고 있었는데, spring boot app이 docker가 되면서 redis cluster의 컨테이너명("redis-cluster")으로 변경함. 로그를 보면 redis에 연결에 성공하는 로그도 보이나, 연결 실패도 발생함. 연결 성공 로그 {"level":"DEBUG","message":"Connecting to Redis at redis-cluster:6379: Success","stackTrace":""} 연결 실패 로그 {"level":"ERROR", "message":"Application run faile..
today'work
2023. 7. 19. 01:59
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 로그파일인덱스
- palindrome number
- lombok #maven build #sym
- opencv로qr코드인식
- AWS #X-Ray
- reverse integer
- PostgreSQL #sequnceName
- spring-integration
- Maven LF #메이븐 개행문자
- logback #logstash #LoggingEventCompositeJsonEncoder #로그JSON
- excel table
- add two numbers
- SnakeYAML
- springintegration #파일감시 #디렉토리감시 #파일완료검사
- Two Sum
- 로그테스트 #콘솔로그테스트 #System.out
- multipleIntegrationFlow
- spring #redis #redis-cluster
- aws #aws region #aws credential #aws region provider #aws credential provier
- excel to markdown
- Python #Powertools
- leetcode
- PostgreSQL #FOR UPDATE #SKIP LOCKED
- QR코드읽기 #ReadQRCode
- json
- mybatis @insert값 @update값
- yaml
- cannotResolveSymbol
- Postgresql #MultiTruncate
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함