Interface PravegaEventRouter<T>

  • Type Parameters:
    T - The type of the event.
    All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    FlinkPravegaTableSink.RowBasedRouter

    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 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.