Apache Kafka can be described as a "distributed streaming platform," where ActiveMQ , MOM (messaging-oriented middleware), is a "general-purpose message broker . "
Kafka does one thing and one thing is really good: in the publication / subscription architecture (pub / sub), messages are written in sections (journals distributed by sections), which are then consumed by consumers by offset. Designed for a very high-bandwidth cloud , Kafka focuses on this, and today it is the path of asynchronous messaging.
ActiveMQ supports both pub / sub semantics and point-to-point semantics. In the latter case, the queue processes individual messages between one producer and a specific consumer. This, like pub / sub, is asynchronous, but works a little differently: if the consumer receives a message in the queue but cannot confirm it, the message is then sent to another consumer. ActiveMQ also supports several messaging protocols, including AMQP, STOMP, JMS, CAMEL, and MQTT.
While Apache Kafka can be a simple asynchronous connection; ActiveMQ seems to prefer some for more complex routing patterns, such as corporate patterns, however many argue that Kafka is an improvement over ActiveMQ, for reasons such as higher throughput , more efficient partition management for logs / and more. detailed approach. ACLs for consumers using the topic.
John Hammink Apr 17 '19 at 21:21 2019-04-17 21:21
source share