Ensuring Exhaustive Error Handling in Effect-Native API for Kafka Consumers
Is there an Effect-native API for ensuring all failures are handled? For instance, I just found myself coming up with this little helper function:
while working on a Kafka consumer. For every anticipated error case, I wanted to describe whether the message should be discarded or its processing retried. And I wanted to make sure that I didn't miss any of the failures tracked by the type system.
while working on a Kafka consumer. For every anticipated error case, I wanted to describe whether the message should be discarded or its processing retried. And I wanted to make sure that I didn't miss any of the failures tracked by the type system.
