diff --git a/examples/hazelcast/pom.xml b/examples/hazelcast/pom.xml index 19264a2e..9c6ad1cc 100644 --- a/examples/hazelcast/pom.xml +++ b/examples/hazelcast/pom.xml @@ -25,17 +25,12 @@ bucket4j-spring-boot-starter - com.hazelcast - hazelcast - - - com.hazelcast - hazelcast-spring + javax.cache + cache-api com.hazelcast - hazelcast-client - 3.12.12 + hazelcast org.springframework.boot diff --git a/examples/hazelcast/src/main/resources/application.yml b/examples/hazelcast/src/main/resources/application.yml index 7a7a1b00..e416c974 100644 --- a/examples/hazelcast/src/main/resources/application.yml +++ b/examples/hazelcast/src/main/resources/application.yml @@ -1,13 +1,9 @@ -management: - security: - enabled: false +debug: true spring: - main: allow-bean-definition-overriding: true cache: type: jcache - jcache: - provider: com.hazelcast.cache.impl.HazelcastServerCachingProvider - config: classpath:hazelcast.xml + jcache: provider: com.hazelcast.cache.impl.HazelcastServerCachingProvider + main: allow-bean-definition-overriding: true bucket4j: enabled: true filters: diff --git a/examples/hazelcast/src/main/resources/hazelcast.xml b/examples/hazelcast/src/main/resources/hazelcast.xml index a87feb8e..b43e492e 100644 --- a/examples/hazelcast/src/main/resources/hazelcast.xml +++ b/examples/hazelcast/src/main/resources/hazelcast.xml @@ -1,17 +1,7 @@ - - - - - 120 - BINARY - CREATE_ON_UPDATE - true - - - - - + + + true + \ No newline at end of file