public final class StatefulFunctionEgressStreams
extends java.lang.Object
StatefulFunctionDataStreamBuilder.withEgressId(EgressIdentifier)
. see getDataStreamForEgressId(EgressIdentifier)
.Modifier and Type | Method and Description |
---|---|
<T> org.apache.flink.streaming.api.datastream.DataStream<T> |
getDataStreamForEgressId(EgressIdentifier<T> id)
Returns the
DataStream that represents a stateful functions egress for an EgressIdentifier . |
public <T> org.apache.flink.streaming.api.datastream.DataStream<T> getDataStreamForEgressId(EgressIdentifier<T> id)
DataStream
that represents a stateful functions egress for an EgressIdentifier
.
Messages that are sent to an egress with the supplied id, (via Context.send(EgressIdentifier, Object)
) would result in the
DataStream
returned from that method.
T
- the egress message type.id
- the egress id, as provided to StatefulFunctionDataStreamBuilder.withEgressId(EgressIdentifier)
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.