Big Data interview questions (eight) ---- Kafka interview questions

"I stumbled on a giant cow artificial intelligence course, could not help but share to everyone. Tutorial is not only a zero-based, user-friendly, and very humorous, like watching a fiction! Think too much bad, so to others. the point where you can jump to the tutorial.. "

Big Data Collection catalog interview, please click

table of Contents

1. Please explain what is Apache Kafka?
2. Please explain what is traditional messaging method?
3. Please describe Kafka compared with traditional messaging method What are the advantages?


1. Please explain what is Apache Kafka?

       Apache Kafka was released from a Apache developed subscribe messaging system, which is a distributed, partitioned and re-logging service.

2. Please explain what is traditional messaging method?

       Traditional messaging method including two types:
Queuing : in the queue, a group of users can read the message from the server, each message sent to one person.
Publish - subscribe : In this model, the message is broadcast to all users.

3. Please describe Kafka compared with traditional messaging method What are the advantages?

       High performance: Kafka single agent can handle thousands of clients, processing the number of megabytes per second read and write operations, the performance far more than the traditional Kafka ActiveMQ, RabbitMQ the like, and Kafka support Batch operations; Scalable: Kafka clusters can be transparently extended, adding new servers into clusters; fault tolerance: Kafka each Partition data is copied to several servers, when a Broker fails, Zookeeper will inform producers and consumers in order to use other Broker;

Published 422 original articles · won praise 357 · Views 1.24 million +

Guess you like

Origin blog.csdn.net/silentwolfyh/article/details/103865192