Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[POC] CDC using Estuary.dev #159

Open
tushar5526 opened this issue Aug 6, 2023 · 1 comment
Open

[POC] CDC using Estuary.dev #159

tushar5526 opened this issue Aug 6, 2023 · 1 comment

Comments

@tushar5526
Copy link
Contributor

Problem statement

Currently end users have to manually generate csv files for different events going in a program and ingest them in cqube. There is a scope of automation here if we can capture change events in database and generate the program, event files directly using a config file.

Solution Archtiecture

Screenshot 2023-08-06 at 11 26 56 AM

We are using Estuary as a CDC provider here. A data pipeline is created which sends every event on the database to a webhook. The webhook accepts the data, parses it, generates related CSV files, and stores it in a S3-like storage (for POC we are storing on the local system only). A cron job is running which ingests data into CQUBE after some interval of time that is configured.

The ingest files generated are structured as follows:

  • Date
    • ProgramName
    • EventName

This POC is backward compatible as well - we can add it to the already existing c-qube deployments with ease.

@tushar5526
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant