influxdata / rskafka

A minimal Rust client for Apache Kafka
Apache License 2.0
292 stars 33 forks source link

Chaos testing #149

Open crepererum opened 2 years ago

crepererum commented 2 years ago

Our tests currently use a rather static Kafka/Redpanda cluster and test the happy path. We should also have a test that deals with a messy cluster.

For that I think we can have the following long-running test job:

This is a bit related to #49 which captures the unit-test aspects of our retry logic. Also relates to #147 which would probably have found by proper chaos testing.

alamb commented 2 years ago

This is a great idea 👍

To set expectations, once this testing is in place I predict a non trivial amount of time will be required to diagnose / debug and / fix whatever it turns up