Package io.pravega.connectors.flink
Interface PravegaEventRouter<T>
-
- Type Parameters:
T
- The type of the event.
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
FlinkPravegaDynamicTableSink.RowDataBasedRouter
public interface PravegaEventRouter<T> extends java.io.Serializable
The event router which is used to extract the routing key for pravega from the event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getRoutingKey(T event)
Fetch the routing key for the given event.
-
-
-
Method Detail
-
getRoutingKey
java.lang.String getRoutingKey(T event)
Fetch the routing key for the given event.- Parameters:
event
- The type of the event.- Returns:
- The routing key which will be used by the pravega writer.
-
-