(What are two stateless operations in the Kafka Streams API?
Select two.)
(You are experiencing low throughput from a Java producer.
Kafka producer metrics show a low I/O thread ratio and low I/O thread wait ratio.
What is the most likely cause of the slow producer performance?)
You are working on a Kafka cluster with three nodes. You create a topic named orders with:
replication.factor = 3
min.insync.replicas = 2
acks = allWhat exception will be generated if two brokers are down due to network delay?
You need to explain the best reason to implement the consumer callback interface ConsumerRebalanceListener prior to a Consumer Group Rebalance.
Which statement is correct?
Where are source connector offsets stored?
(A stream processing application tracks user activity in online shopping carts, including items added, removed, and ordered throughout the day for each user.
You need to capture data to identify possible periods of user inactivity.
Which type of Kafka Streams window should you use?)
You have a topic with four partitions. The application reads from it using two consumers in a single consumer group.
Processing is CPU-bound, and lag is increasing.
What should you do?
You create a topic named loT-Data with 10 partitions and replication factor of three.
A producer sends 1 MB messages compressed with Gzip.
Which two statements are true in this scenario?
(Select two.)
(You are designing a stream pipeline to monitor the real-time location of GPS trackers, where historical location data is not required.
Each event has:
• Key: trackerId
• Value: latitude, longitude
You need to ensure that the latest location for each tracker is always retained in the Kafka topic.
Which topic configuration parameter should you set?)
You need to configure a sink connector to write records that fail into a dead letter queue topic. Requirements:
Topic name: DLQ-Topic
Headers containing error context must be added to the messagesWhich three configuration parameters are necessary?(Select three.)