druid/docs/development
Gian Merlino 95ca43034f
Change default handoffConditionTimeout to 15 minutes. (#14539)
* Change default handoffConditionTimeout to 15 minutes.

Most of the time, when handoff is taking this long, it's because something
is preventing Historicals from loading new data. In this case, we have
two choices:

1) Stop making progress on ingestion, wait for Historicals to load stuff,
   and keep the waiting-for-handoff segments available on realtime tasks.
   (handoffConditionTimeout = 0, the current default)

2) Continue making progress on ingestion, by exiting the realtime tasks
   that were waiting for handoff. Once the Historicals get their act
   together, the segments will be loaded, as they are still there on
   deep storage. They will just not be continuously available.
   (handoffConditionTimeout > 0)

I believe most users would prefer [2], because [1] risks ingestion falling
behind the stream, which causes many other problems. It can cause data loss
if the stream ages-out data before we have a chance to ingest it.

Due to the way tuningConfigs are serialized -- defaults are baked into the
serialized form that is written to the database -- this default change will
not change anyone's existing supervisors. It will take effect for newly
created supervisors.

* Fix tests.

* Update docs/development/extensions-core/kafka-supervisor-reference.md

Co-authored-by: Katya Macedo  <38017980+ektravel@users.noreply.github.com>

* Update docs/development/extensions-core/kinesis-ingestion.md

Co-authored-by: Katya Macedo  <38017980+ektravel@users.noreply.github.com>

---------

Co-authored-by: Katya Macedo <38017980+ektravel@users.noreply.github.com>
2023-07-13 13:17:14 -07:00
..
extensions-contrib docs: k8s-jobs role needs batch apigroup (#14343) 2023-07-04 14:34:20 +05:30
extensions-core Change default handoffConditionTimeout to 15 minutes. (#14539) 2023-07-13 13:17:14 -07:00
build.md Update Hadoop3 as default build version (#14005) 2023-04-26 12:52:51 +05:30
docs-contribute.md docs: add basic contributor guide for docs (#14365) 2023-06-05 10:53:17 -07:00
experimental-features.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
experimental.md Docusaurus build framework + ingestion doc refresh. (#8311) 2019-08-20 21:48:59 -07:00
javascript.md cleaning up and fixing links (#10528) 2020-12-17 13:37:43 -08:00
modules.md Various documentation updates. (#13107) 2022-09-16 21:58:11 -07:00
overview.md Fix a broken link in the development doc (#11226) 2021-05-10 16:14:06 +08:00
versioning.md De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00