private void setup() {
    LOG.info("setting up the recovery...");

    getContainerModels();
    getChangeLogSystemStreamsAndStorageFactories();
    getChangeLogMaxPartitionNumber();
    getContainerStorageManagers();
  }
setup phase which assigns required values to the variables used for all
tasks.
samza-core/src/main/java/org/apache/samza/storage/StorageRecovery.java