added basic logic for redis consumer handler