This doesn't work. The RedisInstance return a map using the host as the key, but you are using uri as the key here.