You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Nicholas Sun <ol...@gmail.com> on 2022/02/05 01:09:15 UTC

Question about RecordBatch truncation in the kafka protocol

Hi all, I'm working on a client library for kafka, and I can't seem to find
the difference between truncation of a RecordBatch due to log compaction
and truncation of a RecordBatch due to the MaxBytes requested by the
reader, is there a flag set in the message that I can reference?
https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol