dev-licence: allow users to configure a dev license with diminished c…#4569
dev-licence: allow users to configure a dev license with diminished c…#4569ness-david-dedu wants to merge 7 commits into
Conversation
|
the dev license should be the default. No opt in required. The only two states should be: dev license running or prod/enterprise license |
|
The WARN text says "Throttling enterprise output" even while hitting on input. Can we parametrize on the connector name? |
|
internal/license/throttle.go — Wait clamps the charge to one burst, so oversized batches bypass the cap The throttle clamps n to the burst window before reserving tokens: if n > testLicenseBurstBytes { // 30 MB I get why it's here — rate.Limiter.ReserveN can't reserve more than burst, so without the clamp a batch larger than 30 MB would produce a never-satisfiable reservation. But the side effect is that a single batch is only ever charged up to 30 MB, regardless of its real size. Since batch size is user-controlled config, this lets a pipeline run well over the 1 MB/s cap just by batching larger — no tooling or tricks needed. Effective rate ends up ≈ batch_size / 30s: ┌────────┬────────────┬─────────┬────────────────┐ |
|
Last comment: aws_dynamodb_cdc and redpanda_common input need to be gated as well. We should match info.csv enterprise flagged. |

under a 1 MB/s throughput cap per process.
throttler only under the dev license — no-op under a production license.