Akka Source add supervision configuration
The consumer used in the pulsar4s Akka Source is closed and stops the stream for every encountered error.
I think we should use the supervision decider optionally passed to the flow. I don't know if it's possible yet, if not we should have a way to pass a partial function to define the behavior to have during exception on consumption.
I am particularly interested in parsing issues during consumption. I would like to Skip the message and continue to the Next message. So Supervision.Resume looks good.
@gmethvin WDYT?
nvm, ConsumerMessage[T].valueTry should be enough.
The parsing errors are already exposed with valueTry but there might be others where it would make sense to use a supervision decider.