This demo project provides an example of how to use Hazelcast distributed cache in conjunction with the Bucket4j library to provide ratelimits for methods and api's. Inside there are tests using test containers to demonstrate work.
- Java 11
- SpringBoot 2.1.8.RELEASE
- Hazelcast 3.12.13