创建mongo和redis  connector