Commit Graph

12 Commits

Author SHA1 Message Date
David Blewett e347f9aece Disable valgrind for now, and start up kafka/zk before starting building 2024-01-11 14:58:07 -05:00
Nikhil Benesch bed4551458 Fix test directory in CI
Apparently Cargo moved test output into target/debug/deps
at some point, but our test scripts were not updated accordingly.
2021-03-28 21:46:47 -04:00
Nikhil Benesch 838456ac0d Add an example for async-std runtime
Fix #352.
2021-03-14 20:39:14 -04:00
Nikhil Benesch c2fe5fbfdc Switch CI to GitHub Actions
Also fix a bunch of Clippy warnings, which are now checked in CI.
2020-12-31 14:00:06 -05:00
Nikhil Benesch 7f62073d65 Use wildcards in valgrind suppressions file
Apparently Rust symbols include a hash that captures a lot of state we
don't care about.
2020-05-28 16:29:34 -04:00
Nikhil Benesch dffded8840 Introduce AsyncRuntime trait to allow pluggable async runtimes
rdkafka only depends on Tokio for tokio::time::delay_for and
tokio::task::spawn. It is easy enough to package those up into a trait
so that users can swap in an asynchronous runtime of their choosing.

By default we only supply an implementation of AsyncRuntime for Tokio,
and only if the `tokio` feature is enabled, but this patch introduces an
example that uses the smol runtime. If some of these other runtimes
prove to be popular we can look into shipping "official" AsyncRuntime
implementations for those runtimes behind feature flags.
2020-05-21 16:07:44 -04:00
Nikhil Benesch 3c103045c1 Fix CI script
Failures in CI were getting suppressed due to a missing `set -e`.
2020-05-17 23:06:30 -04:00
Nikhil Benesch c1cfecaa93
Run tests against multiple Kafka versions
Fix #30.
2019-11-29 17:09:41 -05:00
Nikhil Benesch a14a16b915
Don't compile tests inside Docker in CI
Only using Docker to run Kafka makes CI much faster.
2019-11-29 16:23:46 -05:00
Gerard Klijs e7dd7846fc issue_123 set container name explicitly so it will be the same. I'm now able to run the tests successfully multiple times on a macbook with docker for mac. 2019-05-05 17:09:54 +02:00
Gerard Klijs 0f8c82ceef issue_123 update docker compose 2019-05-04 19:21:34 +02:00
Federico Giraud 77f4f5fadc Port base consumer to new tpl 2017-05-18 23:32:56 +01:00