object Suppressed
Duplicates the static factory methods inside the Java interface org.apache.kafka.streams.kstream.Suppressed.
This was required for compatibility w/ Scala 2.11 + Java 1.8 because the Scala 2.11 compiler doesn't support the use of static methods inside Java interfaces. We have since dropped Scala 2.11 support.
- Annotations
- @deprecated
- Deprecated
(Since version 2.5) Use org.apache.kafka.streams.kstream.Suppressed
- Alphabetic
- By Inheritance
- Suppressed
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
untilTimeLimit[K](timeToWaitForMoreEvents: Duration, bufferConfig: BufferConfig[_]): kstream.Suppressed[K]
Configure the suppression to wait
timeToWaitForMoreEvents
amount of time after receiving a record before emitting it further downstream.Configure the suppression to wait
timeToWaitForMoreEvents
amount of time after receiving a record before emitting it further downstream. If another record for the same key arrives in the mean time, it replaces the first record in the buffer but does not re-start the timer.- K
The key type for the KTable to apply this suppression to.
- timeToWaitForMoreEvents
The amount of time to wait, per record, for new events.
- bufferConfig
A configuration specifying how much space to use for buffering intermediate results.
- returns
a suppression configuration
- See also
org.apache.kafka.streams.kstream.Suppressed.untilTimeLimit
-
def
untilWindowCloses[K](bufferConfig: StrictBufferConfig): kstream.Suppressed[Windowed[K]]
Configure the suppression to emit only the "final results" from the window.
Configure the suppression to emit only the "final results" from the window.
By default all Streams operators emit results whenever new results are available. This includes windowed operations.
This configuration will instead emit just one result per key for each window, guaranteeing to deliver only the final result. This option is suitable for use cases in which the business logic requires a hard guarantee that only the final result is propagated. For example, sending alerts.
To accomplish this, the operator will buffer events from the window until the window close (that is, until the end-time passes, and additionally until the grace period expires). Since windowed operators are required to reject late events for a window whose grace period is expired, there is an additional guarantee that the final results emitted from this suppression will match any queriable state upstream.
- K
The Windowed key type for the KTable to apply this suppression to.
- bufferConfig
A configuration specifying how much space to use for buffering intermediate results. This is required to be a "strict" config, since it would violate the "final results" property to emit early and then issue an update later.
- returns
a "final results" mode suppression configuration
- See also
org.apache.kafka.streams.kstream.Suppressed.untilTimeLimit
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
object
BufferConfig
Duplicates the static factory methods inside the Java interface org.apache.kafka.streams.kstream.Suppressed.BufferConfig.