Temporarily update the retention time on the topic to one second: 
 [code block] 
 And in newer Kafka releases, you can also do it with `kafka-configs --entity-type topics` 
 [code block] 
 then wait for the purge to take effect (duration depends on size of the topic). Once purged, restore the previous `retention.ms` value.