I implemented less general exception handling recently just as a base class for my DoFns, I ended up having a proto that contains the stack trace and other info just as strings. Also because I was worried about the SerializableCoder efficiency.
One option might be for the failure output type be a generic? And we provide a function for handling the exception instead? [ Full content available at: https://github.com/apache/beam/pull/6586 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org