druid/docs/development/extensions-core
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
..
approximate-histograms.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
avro.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
azure.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
bloom-filter.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
datasketches-extension.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
datasketches-hll.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
datasketches-kll.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
datasketches-quantiles.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
datasketches-theta.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
datasketches-tuple.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
druid-aws-rds.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
druid-basic-security.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
druid-kerberos.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
druid-lookups.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
druid-pac4j.md Update OIDCConfig with scope information (#13973) 2023-03-28 14:50:00 +05:30
druid-ranger-security.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
examples.md De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00
google.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
hdfs.md Claim full support for Java 17. (#14384) 2023-07-07 12:52:35 -07:00
kafka-extraction-namespace.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
kafka-ingestion.md Doc: List supported values for Kafka `headerFormat` (#14316) 2023-05-22 15:41:07 -07:00
kafka-supervisor-operations.md API reference refactor (#14372) 2023-06-26 15:48:54 -07:00
kafka-supervisor-reference.md Change default handoffConditionTimeout to 15 minutes. (#14539) 2023-07-13 13:17:14 -07:00
kinesis-ingestion.md Change default handoffConditionTimeout to 15 minutes. (#14539) 2023-07-13 13:17:14 -07:00
kubernetes.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
lookups-cached-global.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
mysql.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
orc.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
parquet.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
postgresql.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
protobuf.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
s3.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
simple-client-sslcontext.md Fix broken links to Oracle JDK docs (#13687) 2023-01-18 14:46:08 +05:30
stats.md Update Ingestion section (#14023) 2023-05-19 09:42:27 -07:00
test-stats.md De-incubation cleanup in code, docs, packaging (#9108) 2020-01-03 12:33:19 -05:00