Ismael Juma created KAFKA-18784:
-----------------------------------
Summary: Fix ConsumerWithLegacyMessageFormatIntegrationTest
Key: KAFKA-18784
URL: https://issues.apache.org/jira/browse/KAFKA-18784
Project: Kafka
Issue Type: Bug
Reporter: Ismael Juma
This test is meant to exercise the consumer with old message formats, but it's
not actually doing that (the code to produce with old record formats was
removed). To fix the test, we can use the `Log` class to write with old record
formats.
This test is still useful because brokers can still return records with old
formats if the data was written to the log with the old format and never
deleted. Another case is for compacted topics since we don't force the rewrite
to the new message format with versions older than 4.0.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)