hiwot tadese
09/29/2025, 6:48 PMkapa.ai
09/29/2025, 6:49 PMurl and a strategy parameter. If you have two URLs (example.com, example.org) and two strategies (desktop, mobile), Airbyte will generate the following requests: GET https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=example.com&strategy=desktop GET https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=example.com&strategy=mobile GET https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=example.org&strategy=desktop GET https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=example.org&strategy=mobile This is achieved by defining two partition routers—one for URLs and one for strategies. Airbyte will iterate over all combinations and make a request for each pair. #### Configuration In the YAML configuration, you would define an array of partition routers under the partition_router field. Each router specifies how to inject its partition value into the outgoing request. Here’s a conceptual example: yaml partition_router: - type: ListPartitionRouter values: - "example.com" - "example.org" cursor_field: "url" request_option: type: RequestOption field_name: "url" inject_into: "request_parameter" - type: ListPartitionRouter values: - "desktop" - "mobile" cursor_field: "strategy" request_option: type: RequestOption field_name: "strategy" inject_into: "request_parameter" With this setup, Airbyte will automatically generate requests for every combination of url and strategy values. #### Key Points - All combinations: Every possible combination of partition values is requested separately. - Flexible: You can use this approach for any API that requires multiple parameters to partition data. - UI Support: The Connector Builder UI also supports configuring multiple partition routers in the stream configuration section. For more details and examples, see the documentation on [Multiple partition routers](https://docs.airbyte.com/platform/next/connector-development/connector-builder-ui/partitioning#partition-router-types) and [Partition Router configuration](https://docs.airbyte.com/platform/next/connector-development/config-based/understanding-the-yaml-file/partition-router) in Airbyte. This approach is consistent across Airbyte versions and is well-documented in the official docs [here](https://docs.airbyte.com/platform/connector-development/connector-builder-ui/partitioning#multiple-partition-routers) and [here](https://docs.airbyte.com/platform/next/connector-development/connector-builder-ui/partitioning#partition-router-types).