if im building a stream in the CDK UI with two sub...
# help-connector-development
d
if im building a stream in the CDK UI with two sub-streams to build a resource path, how do i denote which substream is which using the
{{ stream_partition.id }}
notation logic? i want to end up with something like:
/path/stream_partition1.id/path/stream_partition2.id
k
A message from kapa.ai
To achieve this in the CDK UI, you can use the
{{ stream_partition.<identifier> }}
notation for each substream. First, you need to configure the partition routers for both substreams and set the "Current partition value identifier" for each substream. For example, set the identifier for the first substream to
stream_partition1
and for the second substream to
stream_partition2
. Once you have configured the partition routers, you can use the identifiers in the "Path URL" of the stream configuration like this:
Copy code
/path/{{ stream_partition.stream_partition1 }}/path/{{ stream_partition.stream_partition2 }}
This will replace
{{ stream_partition.stream_partition1 }}
and
{{ stream_partition.stream_partition2 }}
with the respective partition values for each substream. For more information on configuring partition routers, refer to the [Airbyte documentation on partitioning](https://docs.airbyte.com/connector-development/connector-builder-ui/partitioning).