Apache Kafka 面试题与答案
问题 26. Explain Multi-tenancy in Kafka?
We can easily deploy Kafka as a multi-tenant solution. However, by configuring which topics can produce or consume data, Multi-tenancy is enabled. Also, it provides operations support for quotas.
问题 27. What is the role of Consumer API?
An API which permits an application to subscribe to one or more topics and also to process the stream of records produced to them is what we call Consumer API.
问题 28. Explain the role of Streams API in Kafka?
An API which permits an application to act as a stream processor, and also consuming an input stream from one or more topics and producing an output stream to one or more output topics, moreover, transforming the input streams to output streams effectively, is what we call Streams API.
问题 29. What is the role of Connector API?
An API which permits to run as well as build the reusable producers or consumers which connect Kafka topics to existing applications or data systems is what we call the Connector API.
问题 30. Why Should we use Apache Kafka Cluster?
- It is possible to track web activities just by storing/sending the events for real-time processes.
- Through this, we can Alert as well as report the operational metrics.
- Also, we can transform data into the standard format.
- Moreover, it allows continuous processing of streaming data to the topics.
用户评价最有帮助的内容:
- Explain the concept of Leader and Follower.
- Enlist the several components in Kafka.
- What are main APIs of Kafka?