Class ConsumerStreamlet<R>

  • All Implemented Interfaces:
    StreamletBase<R>

    public class ConsumerStreamlet<R>
    extends StreamletBaseImpl<R>
    ConsumerStreamlet represents an empty Streamlet that is made up of elements from the parent streamlet after consuming every element. Since elements of the parents are just consumed by the user passed consumer function, nothing is emitted, thus this streamlet is empty.
    • Method Detail

      • doBuild

        public boolean doBuild​(TopologyBuilder bldr,
                               Set<String> stageNames)
        Connect this streamlet to TopologyBuilder.
        Specified by:
        doBuild in class StreamletBaseImpl<R>
        Parameters:
        bldr - The TopologyBuilder for the topology
        stageNames - The existing stage names
        Returns:
        True if successful