Apache Kafka vs Apache Storm

前端 未结 7 575
遥遥无期
遥遥无期 2021-01-29 18:55

Apache Kafka: Distributed messaging system
Apache Storm: Real Time Message Processing

How we can use both technologies in a real-time data pipeline for processing

7条回答
  •  清酒与你
    2021-01-29 19:21

    Kafka and Storm have a slightly different purpose:

    Kafka is a distributed message broker which can handle big amount of messages per second. It uses publish-subscribe paradigm and relies on topics and partitions. Kafka uses Zookeeper to share and save state between brokers. So Kafka is basically responsible for transferring messages from one machine to another.

    Storm is a scalable, fault-tolerant, real-time analytic system (think like Hadoop in realtime). It consumes data from sources (Spouts) and passes it to pipeline (Bolts). You can combine them in the topology. So Storm is basically a computation unit (aggregation, machine learning).


    But you can use them together: for example your application uses kafka to send data to other servers which uses storm to make some computation on it.

提交回复
热议问题