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

Changes API for external backends #953

Open
sirex opened this issue Nov 8, 2024 · 0 comments
Open

Changes API for external backends #953

sirex opened this issue Nov 8, 2024 · 0 comments

Comments

@sirex
Copy link
Collaborator

sirex commented Nov 8, 2024

Implement Changes API for external data backends.

For this to work, we need a background task, which would scan for changes and write patches to separate database.

This could be done wit a new command:

spinta changes scan

This command would scan changes in the most efficient way and write changed data to changes table.

When a /:changes request would be made to external backend, then data from prepopulated changes table would be read.

To make this work, we might use Kafka, to monitor changes and write changed data to changes table.

Also it would be an option, to take changes directly from Kafka.

If Kafka is too heavy, we should consider another Change Data Capture (CDC) solution.

Depends on

Related

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