use options to config redis connection