Kafka runs as a cluster which handles the incoming high volume data streams in the real time.
Flume is a tool to collect log data from distributed web servers.
Kafka will treat each topic partition as an ordered set of messages.
https://www.geeksforgeeks.org/difference-between-apache-kafka-and-apache-flume/