티스토리 뷰

개발

spring data cassandra datacenter 오류

달리는개발자 2021. 2. 5. 13:34

spring-data-cassandra 3.0.6.RELEASE

Caused by: java.lang.IllegalStateException: Since you provided explicit contact points, the local DC must be explicitly set

 

해결

아래와 같이 local-datacenter를 명시해준다.

spring.data.cassandra.local-datacenter=datacenter1

 

참고

github.com/spring-projects/spring-boot/issues/19779

 

Configuring dedicated Cassandra contact points now require a local DC · Issue #19779 · spring-projects/spring-boot

We need to expose an additional property as the following is thrown when one wants to customize the contact points to use. Caused by: java.lang.IllegalStateException: Since you provided explicit co...

github.com

 

반응형
댓글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/01   »
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
글 보관함