How data is processed/consumed nowadays is different from how it was previously practiced. In the past, data was stored in a database and it was batch processed to get some analytics. Although this approach is correct, more modern platforms let you process data in real-time as data comes to the system.
Apache Kafka (or Kafka) is a distributed event store and stream-processing platform for storing, consuming, and processing data streams.