flier / tokio-kafka

Asynchronous Rust client for Apache Kafka
Apache License 2.0
31 stars 1 forks source link

Better report thunk errors #23

Closed polachok closed 6 years ago

polachok commented 6 years ago

When produce_records() times out, producer's send() method reports 'Canceled' which makes it unclear about what's actually going on.

I do format!() because Error doesn't implement clone(). It's a bit hackish but still better than Canceled.

flier commented 6 years ago

thanks