Skip to content

Commit

Permalink
feat: Proposal for refreshes needed metadata (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoriceau authored Apr 2, 2024
1 parent 2a403a6 commit 7e8a487
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,28 @@ definitions:
type: array
items:
type: string
generation_id:
description:
"Monotically increasing numeric id representing the current generation of a stream. This id can be shared across syncs.
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
minimum_generation_id:
description:
"The minimum generation id which is needed in a stream. If it is present, the destination will try to delete the data that are part of a generation lower than this property.
If the minimum generation is equals to 0, no data deletion is expected from the destiantion
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
sync_id:
description:
"Monotically increasing numeric id representing the current sync id. This is aimed to be unique per sync.
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
SyncMode:
type: string
enum:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,28 @@ definitions:
type: array
items:
type: string
generation_id:
description:
"Monotically increasing numeric id representing the current generation of a stream. This id can be shared across syncs.
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
minimum_generation_id:
description:
"The minimum generation id which is needed in a stream. If it is present, the destination will try to delete the data that are part of a generation lower than this property.
If the minimum generation is equals to 0, no data deletion is expected from the destiantion
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
sync_id:
description:
"Monotically increasing numeric id representing the current sync id. This is aimed to be unique per sync.
If this is null, it means that the platform is not supporting the refresh and it is expected that no extra id will be added to the records and no data from previous generation will be cleanup.
"
type: integer
SyncMode:
type: string
enum:
Expand Down

0 comments on commit 7e8a487

Please sign in to comment.