[Improvement] no need to wait after a successful retry#138
[Improvement] no need to wait after a successful retry#138fornaix wants to merge 2 commits intoapache:masterfrom
Conversation
|
This configuration is to prevent exceptions caused by too frequent imports. What problems will the pause between batches cause to your job? |
Got it, thx. @gnehil |
You can reduce the batch loading interval by setting the doris.sink.batch.interval.ms option. The default value of this option is 50 (ms). Or you can set it to 0, so there will be no interval between batches. |
|
@gnehil I means providing two parameters:
When the retry interval is increased, it will not affect the batch flush interval. |
Good idea, you can submit PR for this |
|
cc @gnehil |
|
Iterator retry will lose data, refer to pr #145 |
Problem Summary:
When using
Utils.retry, even if it succeeds, we still need to wait fordoris.sink.batch.interval.msmilliseconds.This pr is to fix it.
Checklist(Required)