tecton.declarative.data_source.SparkStreamConfig¶
-
class
tecton.declarative.data_source.
SparkStreamConfig
(data_source_function)¶ Configuration used to define a stream source using a Data Source Function.
The
SparkStreamConfig
class is used to configure a stream source using a user defined Data Source Function.This class is used as an input to a
StreamSource
’s parameterstream_config
. This class is not a Tecton Object: it is a grouping of parameters. Declaring this class alone will not register a data source. Instead, declare as part ofStreamSource
that takes this configuration class instance as a parameter.Do not instantiate this class directly. Use
tecton.declarative.spark_stream_config
instead.Methods
Instantiates a new SparkBatchConfig.