Discard, Throw out, or Sink snap

Most snaps require at least 1 output. If you don’t want to use the output, you have to add other snaps you don’t want (e.g. json formatter and file writer) in order to close the output. Perhaps you have another snap that can ignore the input and have no output - if so please let me know. Otherwise, I’d like to see a snap to do this, which would make the pipelines cleaner. This snap should take either binary or document input.

Hello @jcampion

Exit snap could be helpful for that purpose .

Dimche Saveski

Good idea @dimche.saveski. I usually use that to throw an error, but I could set the number of documents very high.

1 Like