Knowledge chain-Message middleware

Source: Internet
Author: User

Message middleware


Kafka

Kafka It is essentially a messaging system, unlike the traditional enterprise information queuing system, which deals with all data flowing through a company in near real-time, now serving LinkedIn, Netflix, Uber, and Verizon, and building a real-time information processing platform for this.

Application Scenarios:

1.Kafka can be applied to the message system, such as the more popular message push, these messages push the system's message source, you can use Kafka as the core of the system to complete the production of messages and message consumption.

2. The whereabouts of the website, we can be the Enterprise Portal, the user's operation records and other information sent to the Kafka, according to the actual business needs, can be real-time monitoring, or do offline processing.

3. Log collection, similar to the Flume suite, such as the log collection system, but the Kafka design architecture uses push/pull, suitable for heterogeneous clusters, Kafka can submit messages in bulk, for producer, in terms of performance is basically no consumption, and in the consumer side, We can use a distributed file storage system such as HDFS for storage.

Architecture principle: Kafka The preservation of messages is categorized according to topic, consisting of the message producer (Producer) and the message consumer (Consumer), and each server is called a broker. For Kafka clusters, both producer and consumer rely on zookeeper to ensure data consistency.

Kafka Combat-Getting Started

Kafka Combat-kafka Cluster

Kafka Combat-simple example

Knowledge chain-message middleware

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.