<p>Is it possible to use Litmus to test kafka? 
basically some test to figure out what happens in various scenarios. Initial thoughts are:</p>

<ul>
<li>deploying confluent helm chart for kafka and checking brokers gets Storage bound successfully</li>
<li>Kill broker and ensure it comes back</li>
<li>kill zookeeper pod and ensure it comes back</li>
<li>kill consumer pods (my own apps) and ensure they come a back and doesn't miss message</li>
<li>kill producer pod and ensure it comes back and ensure all messages get sent.</li>
</ul>

<p>I assume that you mean a Litmus test as in a mini chaos engineering test and I'm also assuming that you mean to do in Kubernetes. Yes, you should be able to do as long as you have all your pods defined in a higher level abstraction like a <a href="https://kubernetes.io/docs/concepts/workloads/controllers/deployment/" rel="nofollow noreferrer">Deployment</a>, <a href="https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/" rel="nofollow noreferrer">DaemonSet</a>, and <a href="https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/" rel="nofollow noreferrer">StatefulSet</a> that inherently creates a <a href="https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/" rel="nofollow noreferrer">ReplicaSet</a>.</p>

<p>In the Kubernetes world to force this test you can just delete the pod where your Kafka/Zookeeper workload is running and they should be brought up by the ReplicaSet on to of your pods.</p>
