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 4 Question 18 Discussion

Actual exam question for Confluent's CCAAK exam
Question #: 18
Topic #: 4
[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
Dan
2 days ago
I'm not really sure, but I remember something about how Kafka handles different message formats. Could it be B?
upvoted 0 times
...
Lasandra
7 days ago
I think the answer might be A, since the new Producer can be configured to use compression regardless of the existing messages.
upvoted 0 times
...

Save Cancel