code: public EmbeddedGobblin useStateStore(String rootDir) {
      this.setConfiguration(ConfigurationKeys.STATE_STORE_ENABLED, "true");
      this.setConfiguration(ConfigurationKeys.STATE_STORE_ROOT_DIR_KEY, rootDir);
      return this;
    }
docs: Enable state store.