Class DslSessionParams

java.lang.Object
org.apache.kafka.streams.state.DslSessionParams

public class DslSessionParams extends Object
DslSessionParams is a wrapper class for all parameters that function as inputs to DslStoreSuppliers.sessionStore(DslSessionParams).
  • Constructor Details

    • DslSessionParams

      public DslSessionParams(String name, Duration retentionPeriod, EmitStrategy emitStrategy)
      Parameters:
      name - name of the store (cannot be null)
      retentionPeriod - length of time to retain data in the store (cannot be negative) (note that the retention period must be at least as long enough to contain the inactivity gap of the session and the entire grace period.)
      emitStrategy - defines how to emit results
  • Method Details