Class BroadcastDatasourceLoadingSpec

java.lang.Object
org.apache.druid.server.coordination.BroadcastDatasourceLoadingSpec

public class BroadcastDatasourceLoadingSpec extends Object
This class defines the spec for loading of broadcast datasources for a given task. It contains 2 fields:
  1. mode: This mode defines whether broadcastDatasources need to be loaded for the given task, or not. It can take 3 values:
    • ALL: Load all the broadcast datasources.
    • NONE: Load no broadcast datasources.
    • ONLY_REQUIRED: Load only the broadcast datasources defined in broadcastDatasourcesToLoad
  2. broadcastDatasourcesToLoad: Defines the broadcastDatasources to load when the broadcastDatasourceLoadingMode is set to ONLY_REQUIRED.