Purged Topic Still Store Old Purged Data

Hello everyone I’m trying to figure out how to delete all data that already stored in kafka topic. The reason I wanted to do this is because it is still on development process, and the producers are producing null data that cannot be process by other services. I’m using spring boot and spring for apache kafka dependencies, is it true that Spring store or mirror the kafka topic in their local environment?