implemented the use of redis as event broker