What happens if you write the following code in your producer?

What happens if you write the following code in your producer?

producer.send(producerRecord).get()
A . Compression will be increased
B . Throughput will be decreased
C . It will force all brokers in Kafka to acknowledge the producerRecord
D . Batching will be increased

Answer: B

Explanation:

Using Future.get() to wait for a reply from Kafka will limit throughput.

Latest CCDAK Dumps Valid Version with 150 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments