Interface IReservedStreams


  • public interface IReservedStreams
    Reserved Punch streams.
    • _PPF_METRICS : latency metrics are emitted on this stream
    • _PPF_ERRORS : punch bolt exceptions generate an error document emitted on this stream
    • _PPF_EOB : end of batch tuples in transactional mode are emitted on this stream

    Author:
    dimi
    • Field Detail

      • _PPF_METRICS

        static final String _PPF_METRICS
        Latency points are emitted on a reserved stream. This is the id of that stream.
        See Also:
        Constant Field Values
      • _PPF_ERRORS

        static final String _PPF_ERRORS
        Punch exceptions are caught and emitted on this error stream
        See Also:
        Constant Field Values
      • _PPF_EOB

        @Deprecated
        static final String _PPF_EOB
        Deprecated.
        Punch end of batch are emitted on this error stream. This is deprecated as the exactly once semantics is now obsolete.
        See Also:
        Constant Field Values
      • reservedStreams

        static final List<String> reservedStreams
        List of all known reserved streams
    • Method Detail

      • isReservedStream

        static boolean isReservedStream​(String streamId)
        Parameters:
        streamId - a stream identifier
        Returns:
        true if the stream identifier is one of the punch reserved stream.