Skip to content

Commit a5596e2

Browse files
committed
wip
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
1 parent 0bfe814 commit a5596e2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/content/en/docs/documentation/rate-limiting.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ limitations.
1212

1313
Rate limiting is by default turned **off**, since correct configuration depends on the reconciler
1414
implementation, in particular, on how long a typical reconciliation takes.
15-
(The parallelism of reconciliation itself can be limited via
16-
[`ConfigurationService`](https://github.com/java-operator-sdk/java-operator-sdk/blob/ce4d996ee073ebef5715737995fc3d33f4751275/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java#L120-L120)
17-
by configuring the `ExecutorService` appropriately.)
1815

19-
## Default Rate Limiter
16+
Rate limiting is configured per controller, see [ControllerConfiguration](https://github.com/operator-framework/java-operator-sdk/blob/e976fb80d62f6bd0f714d78cec0a7a38d9b4a928/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ControllerConfiguration.java#L81).
17+
18+
## The default LinearRateLimiter
2019

2120
We provide a generic rate limiter implementation:
2221
[`LinearRateLimiter`](https://github.com/java-operator-sdk/java-operator-sdk/blob/main/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/rate/LinearRateLimiter.java).
@@ -40,7 +39,7 @@ they stay within their own rate limits.
4039
## Custom Rate Limiter
4140

4241
You can provide your own rate limiter by implementing the
43-
[`RateLimiter`](https://github.com/java-operator-sdk/java-operator-sdk/blob/ce4d996ee073ebef5715737995fc3d33f4751275/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/rate/RateLimiter.java)
42+
[`RateLimiter`](https://github.com/java-operator-sdk/java-operator-sdk/blob/main/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/rate/RateLimiter.java)
4443
interface and setting it either through:
4544

4645
- explicit [configuration](operations/configuration.md), or

0 commit comments

Comments
 (0)