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 5 Question 23 Discussion

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?
A) If the new Producer is configured to use compression.
B) Never, because topic t1 already has uncompressed messages.
C) Only if Kafka is also enabled for encryption.
D) Only if the new Producer disables batching.

Confluent CCAAK Exam - Topic 5 Question 23 Discussion

Actual exam question for Confluent's CCAAK exam
Question #: 23
Topic #: 5
[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
Erasmo
2 hours ago
I don't recall encryption being a factor in this scenario, so I think C is unlikely. A seems more plausible to me.
upvoted 0 times
...
Annice
5 days ago
I feel like I saw a similar question about compression and batching in our practice tests. Maybe D is the right choice?
upvoted 0 times
...
Arleen
10 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
...
Bong
16 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