madsim-rs / madsim

Magical Deterministic Simulator for distributed systems in Rust.
Apache License 2.0
662 stars 48 forks source link

patch `tokio_stream` #185

Closed BugenZhao closed 5 months ago

BugenZhao commented 10 months ago

I've encountered type mismatching when using opentelemetry with madsim:

https://github.com/risingwavelabs/risingwave/pull/13443#issuecomment-1813892645

It appears that we may need to patch tokio_stream to resolve this.

wangrunji0408 commented 10 months ago

We have this patch. It's in another repo. https://github.com/madsim-rs/tokio/tree/madsim This problem seems to be caused by the tokio inside opentelemetry, which we can't patch. 🥵