Apache Kafka Interview Questions and Answers
Ques 31. What is Data Log in Kafka?
As we know, messages are retained for a considerable amount of time in Kafka. Moreover, there is flexibility for consumers that they can read as per their convenience. Although, there is a possible case that if Kafka is configured to keep messages for 24 hours and possibly that time consumer is down for time greater than 24 hours, then the consumer may lose those messages. However, still, we can read those messages from last known offset, but only at a condition that the downtime on part of the consumer is just 60 minutes. Moreover, on what consumers are reading from a topic Kafka doesn’t keep state.
Ques 32. Explain how to Tune Kafka for Optimal Performance.
- Tuning Kafka Producers
- Kafka Brokers Tuning
- Tuning Kafka Consumers
Ques 33. State Disadvantages of Apache Kafka.
- No Complete Set of Monitoring Tools.
- Issues with Message Tweaking.
- Not support wildcard topic selection.
- Lack of Pace.
Ques 34. Enlist all Apache Kafka Operations.
Apache Kafka Operations are:
- Addition and Deletion of Kafka Topics
- How to modify the Kafka Topics
- Distinguished Turnoff
- Mirroring Data between Kafka Clusters
- Finding the position of the Consumer
- Expanding Your Kafka Cluster
- Migration of Data Automatically
- Retiring Servers
- Datacenters
Ques 35. Explain Apache Kafka Use Cases?
- Kafka Metrics: It is possible to use Kafka for operational monitoring data. Also, to produce centralized feeds of operational data, it involves aggregating statistics from distributed applications.
- Kafka Log Aggregation: Moreover, to gather logs from multiple services across an organization.
- Stream Processing: While stream processing, Kafka’s strong durability is very useful.
Most helpful rated by users:
- Explain the concept of Leader and Follower.
- Enlist the several components in Kafka.
- What are main APIs of Kafka?