Apache Kafka Interviewfragen und Antworten
Frage 21. What can you do with Kafka?
It can perform in several ways, such as:
- In order to transmit data between two systems, we can build a real-time stream of data pipelines with it.
- Also, we can build a real-time streaming platform with Kafka, that can actually react to the data.
Frage 22. What is the purpose of retention period in Kafka cluster?
However, retention period retains all the published records within the Kafka cluster. It doesn’t check whether they have been consumed or not. Moreover, the records can be discarded by using a configuration setting for the retention period. And, it results as it can free up some space.
Frage 23. What are the types of traditional method of message transfer?
- Queuing: It is a method in which a pool of consumers may read a message from the server and each message goes to one of them.
- Publish-Subscribe: Whereas in Publish-Subscribe, messages are broadcasted to all consumers.
Frage 24. What does ISR stand in Kafka environment?
ISR refers to In Sync Replicas. These are generally classified as a set of message replicas which are synced to be leaders.
Frage 25. What is Geo-Replication in Kafka?
For our cluster, Kafka MirrorMaker offers geo-replication. Basically, messages are replicated across multiple data centers or cloud regions, with MirrorMaker. So, it can be used in active/passive scenarios for backup and recovery; or also to place data closer to our users, or support data locality requirements.
Am hilfreichsten laut Nutzern:
- Explain the concept of Leader and Follower.
- Enlist the several components in Kafka.
- What are main APIs of Kafka?