data_pulse
Contributor III

@srikanthp24 

Yes, creating UAT/PROD with DAB is a good approach and should not impact the existing DEV pipeline, as long as each environment is deployed as a separate resource with its own names, staging location and destination schema/catalog.

Typical Example:

DEV -> gateway-dev -> ingestion-dev -> dev_catalog
UAT -> gateway-uat -> ingestion-uat -> uat_catalog
PROD -> gateway-prod -> ingestion-prod -> prod_catalog

One important limitation: each ingestion pipeline must have exactly one gateway, and a gateway cannot be shared across multiple ingestion pipelines. Can see more limitations here


If DEV/UAT/PROD all point to the same SQL Server source, it works, but remember that each gateway is a separate CDC reader, so should consider the additional load on the source and keep staging/checkpoint state separate.

On question of Creating Pipeline via DAB in Dev: The pipeline created with DAB can coexist with the existing UI created DEV pipeline as long as the bundle uses a different gateway name and ingestion pipeline name. Databricks requires unique names when creating both the ingestion pipeline and the gateway.

data_pulse_0-1788966666486.png

Alternatively, For the existing DEV pipeline created through the UI, if you later want to manage that same pipeline through DABs, use bundle bundle deployment bind rather than creating a new bundle resource.

Eg: If existing Dev pipeline Id is : 123abc and bundle resource looks like

resources:
  pipelines:
    dev_ingestion:
      name: sqlserver-dev-ingestion

Then bind that resource to the existing DEV pipeline:

databricks bundle deployment bind
  dev_ingestion
  123abc
  --target dev

Same for prod too, Can bind the Existing Pipelines (As above).