Status
...
Page properties | |
---|---|
Document the state by adding a label to the FLIP page with one of "discussion", "accepted", "released", "rejected".
|
...
...
|
...
...
|
...
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
...
We will also migrate the existing Firehose and Kinesis sinks to use the new interface proposed here. There will be no change in behaviour, since the CongestionControlRateLimitingStrategy configured will be the same as the current strategy.
Example usage of RateLimitingStrategy
This logic will be in the AsyncSinkWriter, but this is an example use case for the interface proposed here
Code Block | ||||
---|---|---|---|---|
| ||||
RequestInfo info = buildRequestInfo(strategy.getMaxBatchSize()); while (strategy.shouldBlock(info)) { sleep(); info = buildRequestInfo(strategy.getMaxBatchSize()); } strategy.registerInFlightRequest(info); // Send the batch strategy.registerCompletedRequest(info); |
Compatibility, Deprecation, and Migration Plan
...