The producer code below features a Callback class with a method called onCompletion().
When will the onCompletion() method be invoked?
Your company has three Kafka clusters: Development, Testing, and Production.
The Production cluster is running out of storage, so you add a new node.
Which two statements about the new node are true?
(Select two.)
Which statement is true about how exactly-once semantics (EOS) work in Kafka Streams?
You want to connect with username and password to a secured Kafka cluster that has SSL encryption.
Which properties must your client include?
A stream processing application is tracking user activity in online shopping carts.
You want to identify periods of user inactivity.
Which type of Kafka Streams window should you use?
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?
A producer is configured with the default partitioner. It is sending records to a topic that is configured with five partitions. The record does not contain any key.
What is the result of this?
Clients that connect to a Kafka cluster are required to specify one or more brokers in the bootstrap.servers parameter.
What is the primary advantage of specifying more than one broker?
You are writing a producer application and need to ensure proper delivery. You configure the producer with acks=all.
Which two actions should you take to ensure proper error handling?
(Select two.)
Kafka producers can batch messages going to the same partition.
Which statement is correct about producer batching?
Which configuration determines how many bytes of data are collected before sending messages to the Kafka broker?
Which two producer exceptions are examples of the class RetriableException? (Select two.)
You have a Kafka Connect cluster with multiple connectors.
One connector is not working as expected.
How can you find logs related to that specific connector?