KAFKA-802 Flush message interval is based on compressed message count; reviewed by Jun Rao