To publish a 15 MB message, you must configure which broker/topic setting?

Study for the Apache Kafka CCDAK Test. Use flashcards and multiple choice questions, with hints and explanations for each answer. Prepare effectively for your certification!

Multiple Choice

To publish a 15 MB message, you must configure which broker/topic setting?

Explanation:
Kafka restricts how large a single message can be, and that limit is set on the broker as message.max.bytes. You can also raise it per topic with max.message.bytes if you want a specific topic to allow larger messages. To publish a 15 MB message, you need at least 15728640 bytes configured, either as the broker’s message.max.bytes or as the topic’s max.message.bytes. The other options control different behaviors—replica.fetch.max.bytes affects how much a follower fetches, max.poll.interval.ms is about consumer polling cadence, and fetch.message.max.bytes governs how much data a consumer fetches in a single request. They do not set the maximum size for a published message. If you’re using a producer, also ensure the producer’s max.request.size is at least 15728640 so the client request can carry the 15 MB payload.

Kafka restricts how large a single message can be, and that limit is set on the broker as message.max.bytes. You can also raise it per topic with max.message.bytes if you want a specific topic to allow larger messages. To publish a 15 MB message, you need at least 15728640 bytes configured, either as the broker’s message.max.bytes or as the topic’s max.message.bytes. The other options control different behaviors—replica.fetch.max.bytes affects how much a follower fetches, max.poll.interval.ms is about consumer polling cadence, and fetch.message.max.bytes governs how much data a consumer fetches in a single request. They do not set the maximum size for a published message. If you’re using a producer, also ensure the producer’s max.request.size is at least 15728640 so the client request can carry the 15 MB payload.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy