Add defaultReplicaCount as a java parameter. Set to zero for local stack.