Class AlertSink

    • Constructor Detail

      • AlertSink

        public AlertSink()
        Deprecated.
    • Method Detail

      • invoke

        public void invoke​(Alert value,
                           SinkFunction.Context context)
        Deprecated.
        Description copied from interface: SinkFunction
        Writes the given value to the sink. This function is called for every record.

        You have to override this method when implementing a SinkFunction, this is a default method for backward compatibility with the old-style method only.

        Specified by:
        invoke in interface SinkFunction<Alert>
        Parameters:
        value - The input record.
        context - Additional context about the input record.