but you also have "redis" above to set the default (and I think it's repeated again in StreamServer.setReigstryType(..))... so it seems like even if it is the default it should only be listed only once as a literal value. If it needs to be referred to in more than one place in the code base, then a public DEFAULT_REGISTRY_TYPE could be declared in the most logical place. However, maybe it can be reduced to just one location and still play the role as a default (at the latest possible place).