Skip to content

Migration Plan: Obsrv GA to Obsrv 1.0

This document outlines the migration strategy from Obsrv GA to Obsrv 1.0, with a focus on data integrity, minimal downtime, and operational continuity.

This document outlines the migration strategy from Obsrv GA to Obsrv 1.0, with a focus on data integrity, minimal downtime, and operational continuity.


The following visual captures the phased migration activities and associated timelines:

Migration timeline diagram showing phased activities


  • Deploy a dedicated Obsrv 1.0 cluster.
  • Ensure isolation from live traffic during setup and validation.

Update Obsrv 1.0 to point to existing GA backup locations:

  • Druid: Reuse GA S3 backup path.
  • Secor: Reuse GA S3 backup path.
  • Velero: Reuse GA S3 backup path.

  • Temporarily disable all ingestion pipelines to prevent data writes during migration.

a. Infosys Transformer

  • Scale down the transformer job.
  • Record current consumer group offsets.

b. Connectors

  • Scale down GA connectors: Kafka, Debezium, and Neo4j.
  • Capture consumer group offsets per partition for each.

  • Ensure all pipelines in GA are fully drained.
  • Specifically, clear:
    • Secor lags
    • Druid ingestion lags
  • Temporarily scale infra, if needed, for quicker lag resolution.

  • Suspend all the running Druid supervisors to prevent conflicts with PostgreSQL backup and restore records.

  • Run manual backups for Postgres and Redis after pipeline clearance.
  • Confirm successful sync to S3.

a. Postgres

To restore and migrate obsrv GA data, follow these steps:

  1. Disable Postgres Migration Scripts: Before initiating Obsrv 1.0 installation, disable Postgres migration scripts V4 and V5 of the obsrv database.
  2. Installation and Data Migration: Proceed with the Obsrv 1.0 installation. Perform the PostgreSQL data restoration and verify.
  3. Enable and Run Migration Scripts: After the Postgresql data restoration is complete, re-enable Postgres migration scripts V4 and V5. Execute the PostgreSQL migration bundle to migrate data to the 1.0 format.

b. Redis

  • Restore Redis snapshot and convert to the 1.0-compatible format.

c. Schema Transformation

  • Execute the schema migration automation to convert all legacy table formats.

  • Verify dataset visibility via the Obsrv 1.0 console.
  • Confirm API-level queryability.
  • Ensure all Druid supervisors are healthy and running.

  • Re-run the ingestion Helm task to create the system events datasource.
  • Suspend and resume all supervisors through the Druid console.

Update each connector to resume from the last committed GA offset:

  • Kafka, Neo4j, Debezium
  • Infosys Transformer (via automation script)

Update respective consumer group details in the 1.0 configuration.


  • Republish all datasets, adhering to the 1.0 schema structure.

  • Bring ingestion pipelines and connectors back online.
  • Begin real-time ingestion and processing.

  • Monitor end-to-end ingestion in 1.0.
  • Validate:
    • Data availability
    • API and query response integrity
    • Consumer group offset correctness
    • System performance and stability

Once confidence is established:

  • Redirect all downstream consumers to Obsrv 1.0 APIs.
  • Retire remaining Obsrv GA components gracefully.