I initialize the guava rate limiter as such and I expect 2 acquisition per second , ~500 ms each. However numbers are zero for first 4-5 acquires , then normal ~500 for rest , when I stop sending "ticks" and wait for 1-2 seconds , goes back to zero again for a 4-5 acquired then go back to normal ~500 ms each. I think this has to do with bursting. Question is , how can I disable bursting so I can get steady ~500 for 2/second , ~250 for 4/second, etc. Thanks.
RateLimiter rateLimiter = RateLimiter.create( 2 );