migrated scala redis to a new project with sentinel support