commit | 30c04eb38a796183643bdcbaff8f425d90ebf671 | [log] [tgz] |
---|---|---|
author | Francisco Guerrero <francisco.guerrero@apple.com> | Mon Oct 10 18:48:31 2022 -0700 |
committer | Yifan Cai <yifan_cai@apple.com> | Mon Oct 17 17:24:38 2022 -0700 |
tree | 6b9948d209de9705733617fd46de88b5b4f45ed7 | |
parent | 6e358acfce071cad16ac88c15dc2229bbb8a7944 [diff] |
CASSANDRASC-45: Delegate methods to the RateLimiter Sidecar offers a `SidecarRateLimiter` class that internally uses the `com.google.common.util.concurrent.RateLimiter`. In this commit, we expose public methods of the `RateLimiter` class using the delegate pattern. These methods will allow us to tweak the settings of the `RateLimiter` that are available to us patch by Francisco Guerrero; reviewed by Yifan Cai, Dinesh Joshi for CASSANDRASC-45
This is a Sidecar for the highly scalable Apache Cassandra database. For more information, see the Apache Cassandra web site and CIP-1.
This is project is still WIP.
After you clone the git repo, you can use the gradle wrapper to build and run the project. Make sure you have Apache Cassandra running on the host & port specified in conf/sidecar.yaml
.
$ ./gradlew run
While setting up cassandra instance, make sure the data directories of cassandra are in the path stored in sidecar.yaml file, else modify data directories path to point to the correct directories for stream APIs to work.
We rely on docker containers for integration tests.
The only requirement is to install and run Docker on your test machine.
You will need to use the “Add Projects” function of CircleCI to set up CircleCI on your fork. When promoted to create a branch, do not replace the CircleCI config, choose the option to do it manually. CircleCI will pick up the in project configuration.
We warmly welcome and appreciate contributions from the community. Please see CONTRIBUTING.md if you wish to submit pull requests.