Packages

case class StreamConfig(trigger: Duration = Duration("10s"), window: Duration = Duration("10m"), watermark: Duration = Duration("5m"), allowEmptyWindows: Boolean = false, checkpointDir: Option[URI] = None) extends Product with Serializable

Application-level configuration describing streaming settings

trigger

Trigger interval: defines time interval for which micro-batches are collected.

window

Window interval: defines tabbing window size used to accumulate metrics.

watermark

Watermark level: defines time interval after which late records are no longer processed.

allowEmptyWindows

Boolean flag indicating whether empty windows are allowed. Thus, in situation when window is below watermark and for some of the processed streams there are no results then all related checks will be skipped if this flag is set to 'true'. Otherwise, checks will be processed and return error status with 'metric results were not found' message.

checkpointDir

Checkpoint directory. If not set, then checkpoints in streaming applications will not be saved.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StreamConfig(trigger: Duration = Duration("10s"), window: Duration = Duration("10m"), watermark: Duration = Duration("5m"), allowEmptyWindows: Boolean = false, checkpointDir: Option[URI] = None)

    trigger

    Trigger interval: defines time interval for which micro-batches are collected.

    window

    Window interval: defines tabbing window size used to accumulate metrics.

    watermark

    Watermark level: defines time interval after which late records are no longer processed.

    allowEmptyWindows

    Boolean flag indicating whether empty windows are allowed. Thus, in situation when window is below watermark and for some of the processed streams there are no results then all related checks will be skipped if this flag is set to 'true'. Otherwise, checks will be processed and return error status with 'metric results were not found' message.

    checkpointDir

    Checkpoint directory. If not set, then checkpoints in streaming applications will not be saved.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val allowEmptyWindows: Boolean
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. lazy val checkpointCol: String
  7. val checkpointDir: Option[URI]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. lazy val eventTsCol: String
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. val trigger: Duration
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  22. val watermark: Duration
  23. val window: Duration
  24. lazy val windowTsCol: String

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped