Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Confluent CCDAK Exam - Topic 1 Question 4 Discussion

You want to send a message of size 3 MB to a topic with default message size configuration. How does KafkaProducer handle large messages?
C) MessageSizeTooLarge exception will be thrown, KafkaProducer will not retry and return exception immediately
A) KafkaProducer divides messages into sizes of max.request.size and sends them in order
B) KafkaProducer divides messages into sizes of message.max.bytes and sends them in order
D) MessageSizeTooLarge exception will be thrown, KafkaProducer retries until the number of retries are exhausted

Confluent CCDAK Exam - Topic 1 Question 4 Discussion

Actual exam question for Confluent's CCDAK exam
Question #: 4
Topic #: 1
[All CCDAK Questions]

You want to send a message of size 3 MB to a topic with default message size configuration. How does KafkaProducer handle large messages?

Show Suggested Answer Hide Answer
Suggested Answer: C

MessageSizeTooLarge is not a retryable exception.


Contribute your Thoughts:

0/2000 characters
Dwight
8 months ago
The max.request.size is just for requests, not message size, right?
upvoted 0 times
...
Jutta
9 months ago
Wait, are you sure about that? I thought it would try again!
upvoted 0 times
...
Cheryl
9 months ago
Definitely goes with option C. No retries for large messages.
upvoted 0 times
...
Meghan
9 months ago
I thought it would split them up, but I guess not!
upvoted 0 times
...
Carrol
9 months ago
KafkaProducer can't handle messages over the limit.
upvoted 0 times
...
Olen
9 months ago
I feel like the right answer might be that it retries until the limit is reached, but I can't remember the specifics of the exception handling.
upvoted 0 times
...
Noble
9 months ago
I think the KafkaProducer would throw a MessageSizeTooLarge exception if the message exceeds the limit, but I can't recall if it retries or not.
upvoted 0 times
...
Avery
9 months ago
I remember that Kafka has a default message size limit, but I'm not sure if it's based on max.request.size or message.max.bytes.
upvoted 0 times
...
Malcom
9 months ago
I practiced a similar question where the producer had to handle large messages, and I think it was about dividing them based on message.max.bytes.
upvoted 0 times
...
Javier
9 months ago
I'm fairly confident that the cluster autoscaler is the way to go here. It's designed for autoscaling Linux containers and should help minimize provisioning time.
upvoted 0 times
...
Alverta
9 months ago
Hmm, I'm not sure about this one. I'll need to think it through carefully.
upvoted 0 times
...
Leonida
10 months ago
Preventing internet access at school might work, but that doesn't really address the root problem. We need to educate students on responsible online behavior.
upvoted 0 times
...
Madelyn
10 months ago
I think the correct answer is Value at Risk because it tells us the potential loss in a set timeframe with a certain confidence level.
upvoted 0 times
...

Save Cancel