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

Enhanced Producer State Management for Incremental Data Retrieval #338

Open
spicy-sauce opened this issue Nov 2, 2023 · 0 comments
Open
Labels
block core enhancement New feature or request

Comments

@spicy-sauce
Copy link
Member

In our system, we require the ability to specify a specific field such as last_updated, rowid, rownum, or any other relevant indicator. This designated field will serve as a reference point, allowing us to fetch only new records since the last iteration. The value of this indicator will be persistently stored in a file, Redis, or another storage solution (initially starting with a file).

If the Producer cannot locate this indicator value, it will fetch all available data. Subsequently, the maximum value of the indicator will be stored in the designated file. During subsequent iterations, the system will read this value either from the file or from memory (if available) and query for records where the specified field is greater than the stored indicator value. This approach ensures efficient and incremental data retrieval, optimizing our system's performance and responsiveness.

@spicy-sauce spicy-sauce added enhancement New feature or request block core labels Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
block core enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant