Persistence of data in Kafka using topics