cancel
Showing results for 
Search instead for 
Did you mean: 

Ending document stream for some paths

Henchway
Contributor

Hello everyone,

I have the need to let some stream paths end in “nothing”.

Essentially I have a bunch of diff outputs that I will ignore, but eventually I will have to reduce the entire pipeline to a single output since it will be a triggered task.

image

What would be the most elegant way of doing that without introducing too much overhead? Right now i would probably ‘Gate’ those outputs together and then simply ignore them, but is there a nicer option?

Best regards
Thomas

1 ACCEPTED SOLUTION

Aleksandar_A
Contributor III

Hi @Henchway,

You can try by adding a Filter Snap with false in the expression, and after that you can add an Exit Snap.

This way you will avoid the memory usage as if you go with the Gate Snap.

Let me know if this works for you.

BR,
Aleksandar.

View solution in original post

2 REPLIES 2

Aleksandar_A
Contributor III

Hi @Henchway,

You can try by adding a Filter Snap with false in the expression, and after that you can add an Exit Snap.

This way you will avoid the memory usage as if you go with the Gate Snap.

Let me know if this works for you.

BR,
Aleksandar.

Thank you, that’s perfect!