Retaining Tracker Locker store Events


We are currently using Redis for Tracker/Locker store. Because the no. of users per day are going to increase we would like to move to a setup where we store events only for live sessions and then remove them from Redis once session has been exited and move all events to Kafka. Is it possible to have such setup?

Basically we want the events to persist in Redis as long as session is active and then instantly move it to some other platform and free Redis.