Apache Kafka
Apache Flume
Kafka is optimized to ingest data and process streaming data in real-time.
Flume is mainly used for collecting and aggregating large amounts of log data from multiple sources to a centralized data location.
Easy to scale.
Not as easy to scale as Kafka.
It can be supported across various applications.
Specifically designed for Hadoop.
Apache Kafka runs as a cluster and supports automatic recovery if resilient to node failure.
Tool to collect log data from distributed web servers.
https://www.geeksforgeeks.org/difference-between-apache-kafka-and-apache-flume/