Function ensureShardingConfigured

  • Validates sharding configuration and sets defaults where possible.

    Parameters

    Returns {
        pubsubTopics: string[];
        shardInfo: ShardInfo;
    }

    Validated sharding parameters, with any missing values set to defaults