@Override
  public String toString() {
    return MoreObjects.toStringHelper(this)
        .add("amsUrl", amsUrl)
        .add("executionParallel", executionParallel)
        .add("memorySize", memorySize)
        .add("groupName", groupName)
        .add("heartBeat", heartBeat)
        .add("extendDiskStorage", extendDiskStorage)
        .add("rocksDBBasePath", diskStoragePath)
        .add("memoryStorageSize", memoryStorageSize)
        .add("resourceId", resourceId)
        .toString();
  }
Common config of Optimizer, it can be extended for custom Optimizer.
amoro-optimizer/amoro-optimizer-common/src/main/java/org/apache/amoro/optimizer/common/OptimizerConfig.java