provider external_data_sources POST
/api/environments/{environment_id}/external_data_sources/{id}/repair_cdc/ @utdk/posthog
/api/environments/{environment_id}/external_data_sources/{id}/repair_cdc/ environments_external_data_sources_repair_cdc_create
Repair CDC on a source whose replication resources were lost.
Only proceeds on evidence of breakage (a persisted broken marker, or a live probe
showing the slot/publication missing) — repairing a healthy source would drop its
slot and force a full re-sync. Cancels running CDC jobs, recreates the engine-side
slot/publication against the stored CDC config, resets every active CDC schema to
snapshot mode for a full re-sync (changes since the old slot died are
unrecoverable), clears the broken markers, and resumes the paused schedules.
Idempotent: safe to retry after a partial failure. Concurrent repairs of the same
source are rejected with a 409.
- environment_id path required
- Deprecated. Use /api/projects/{project_id}/ instead.
- string
- id path required
- A UUID string identifying this external data source.
- string
Try it
Authentication
Configure credentials for PostHog API
Code snippet
Updates live as you fill in the form above.
TypeScript
import posthog from '@utdk/posthog';
await posthog.environmentsExternalDataSourcesRepairCdcCreate()