2 ms·
Dataflow offers an interesting variation of not polluting the happy path with error handling: just do nothing. How so? Well, the happy path passes data to th
by mpweiher 4y ago
Dataflow offers an interesting variation of not polluting the happy path with error handling: just do nothing.
How so? Well, the happy path passes data to the next filter. In the case of an error, simply do not do that, and the next filter will be none-the-wiser.
Optionally, log the error, possibly with enough information that the "logger" could retry the operation if appropriate. But as others have pointed out, there often isn't much that can be done.