Skip to content

#9 split uploadData into overrideable functions - #9

Open
ckritzinger wants to merge 3 commits into
powersync-ja:mainfrom
ckritzinger:carl/reference_uploadData
Open

ckritzinger wants to merge 3 commits into
powersync-ja:mainfrom
ckritzinger:carl/reference_uploadData

Conversation

@ckritzinger

Copy link
Copy Markdown
Collaborator

We're aiming for a reference implementation of uploadData.

this implementation should:

  1. Handle all the main flows including batching and flow control.
  2. Handle both retryable and fatal errors correctly
  3. Provide obvious extension points for clients to override with their own custom functionality

 - retry_after_ms honored
 - hooks for transport/network errors
 - overrideable batching
 - change to DLQ docs - recommendation is server side
@ckritzinger
ckritzinger changed the base branch from feat/write-batches to main September 18, 2026 08:51
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

Successfully merging this pull request may close these issues.

1 participant