(A consumer application runs once every two weeks and reads from a Kafka topic.
The last time the application ran, the last offset processed was 217.
The application is configured with auto.offset.reset=latest.
The current offsets in the topic start at 318 and end at 588.
Which offset will the application start reading from when it starts up for its next run?)
(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 create a topic with five partitions.
What can you assume about messages read from that topic by a single consumer group?)
(You have a Kafka consumer in production actively reading from a critical topic from which multiple other applications are consuming.
You have a new requirement to update the offset of your consumer to start reading from the beginning of the topic.
Which action would you take?)
(You need to send a JSON message on the wire. The message key is a string.
How would you do this?)
Which statement is true about how exactly-once semantics (EOS) work in Kafka Streams?
(You are writing lightweight XML messages to a Kafka topic named userinfo.
Which format should you use for the value field?)
Which configuration allows more time for the consumer poll to process records?
What is a consequence of increasing the number of partitions in an existing Kafka topic?
Your application is consuming from a topic with one consumer group.
The number of running consumers is equal to the number of partitions.
Application logs show that some consumers are leaving the consumer group during peak time, triggering a rebalance. You also notice that your application is processing many duplicates.
You need to stop consumers from leaving the consumer group.
What should you do?
|
PDF + Testing Engine
|
|---|
|
$49.5 |
|
Testing Engine
|
|---|
|
$37.5 |
|
PDF (Q&A)
|
|---|
|
$31.5 |
Confluent Free Exams |
|---|
|