docker compose up
wait for messaging to start...
look for: Leader Broker ID: {id}
then shoot the messenger
docker compose stop redpanda-{id}
In a minute or so the consumer should move to the new leader and catch up all the msgs it missed
- gotta be careful of dev mode auto topic creation because it can race and create a topic with 1 replica
- consumer and producer seem to always fail over eventually, but can probably speed it up by aggressively killing them when there's an error