Use the No Operation forwarder-type function to filter out records from the stream.
Any record sent to this function is discarded from the stream and is not processed further.
Every stream must end with a forwarder, but it may be the case that your stream processes your data within a combination of collectors and processors. You can add this function to your stream to complete it without the function taking any action on the output data.