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 CCAAK Exam - Topic 7 Question 16 Discussion

Actual exam question for Confluent's CCAAK exam
Question #: 16
Topic #: 7
[All CCAAK Questions]

You have a cluster with a topic t1 that already has uncompressed messages. A new Producer starts sending messages to t1 with compression enabled.

Which condition would allow this?

Show Suggested Answer Hide Answer
Suggested Answer: A

Kafka allows mixed compression formats within the same topic and even the same partition. Each message batch includes metadata indicating whether and how it is compressed. Therefore, a new producer can send compressed messages to a topic that already contains uncompressed messages, as long as it is configured with a compression codec (e.g., compression.type=gzip, snappy, etc.).


Contribute your Thoughts:

0/2000 characters
Ilene
21 minutes ago
I feel like I saw a similar question about compression and batching in our practice tests. Maybe D is a possibility, but it seems unlikely.
upvoted 0 times
...
Twana
5 days ago
I'm not really sure, but I remember something about how Kafka handles mixed message formats. Could it be B?
upvoted 0 times
...
Micah
10 days ago
I think the answer might be A, since the new Producer can just be configured to use compression regardless of the existing messages.
upvoted 0 times
...

Save Cancel