aleph

GusWill 2020-12-18T17:58:46.044800Z

Hey guys, I have a question about manifold, not sure if this is the appropriate channel since I couldn't find a manifold-specific channel.

GusWill 2020-12-18T18:00:23.046100Z

I'm building a pubsub system on top of manifold.bus and I don't understand why subcribers stop consuming a bus stream when an error is thrown. Any ideas?

mccraigmccraig 2020-12-18T18:29:04.047800Z

manifold doesn't deal with errors very well - there are some places where an error thrown can silently close a stream @guswill

mccraigmccraig 2020-12-18T18:31:35.049500Z

this caused us no end of trouble at some point... we wrap the stream api now to make sure it never happens and flow errors downstream sensibly

GusWill 2020-12-18T23:48:01.050100Z

Thanks for the pointers @mccraigmccraig. Is this wrapping lib open source by any chance?

GusWill 2020-12-18T23:51:07.051500Z

For now I'm wrapping consumers in a exception-handling macro, but it feels kinda hack-ish.

GusWill 2020-12-18T23:52:31.052300Z

Would you say core.async is a better option for unreliable consumers in fan-out topologies then?

GusWill 2020-12-18T23:52:54.052800Z

core.async doesn't have the best error handling story either 😞