Starting and stopping your cluster in the right order
To avoid exceptions during processing, start and stop the components of your Apache Kafka cluster in the specified order.
When you want to start the cluster, start the components in the
following order:
- Apache ZooKeeper servers
- Apache Kafka brokers
- Receiver Logstash servers
- HAProxy service
- Sender Logstash servers
When you want to stop the cluster, stop the components in the following
order:
- Sender Logstash servers
- Receiver Logstash servers
- HAProxy service
- Apache Kafka brokers
- Apache ZooKeeper servers