added redis config parameters and example redis call