Skip to content

Commit ce72341

Browse files
Restructure the time-scoped sync section
1 parent 957fc9f commit ce72341

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

fern/docs/pages/airdrop/data-extraction.mdx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,9 @@ This lets you simulate a soft timeout and validate that your worker shuts down.
282282

283283
## Time-scoped syncs
284284

285-
Time-scoped syncs allow users to specify a particular timestamp to control the scope of data extraction. This capability enables more granular control over which data gets synchronized between external systems and DevRev.
285+
Time-scoped syncs allow users to specify a custom timestamp to control the scope of data extraction. This capability enables more granular control over which data gets synchronized between external systems and DevRev.
286286

287-
### Configuration
288-
289-
Enable time-scoped syncs by adding the capability to your manifest:
287+
Enable time-scoped syncs by first adding the capability to your manifest:
290288

291289
```yaml
292290
imports:
@@ -295,17 +293,13 @@ imports:
295293
- TIME_SCOPED_SYNCS
296294
```
297295
298-
### Implementation
299-
300296
Your data extraction implementation must handle two optional parameters from the event's `EventContext`:
301297

302298
- **`extract_from`**: Timestamp indicating extraction starting point (applies to both initial and incremental syncs)
303-
- **`reset_extract_from`**: Boolean flag for incremental syncs that determines extraction behavior
299+
- **`reset_extract_from`**: Boolean flag for incremental syncs that determines whether data should be reextracted
304300

305301
<Info>Both parameters are optional and only provided when users specify time-scoped sync parameters.</Info>
306302

307-
#### Extraction logic
308-
309303
The extraction logic depends on the sync type and parameter combination:
310304

311305
**Initial syncs**: Use `extract_from` as the starting timestamp for data extraction.

0 commit comments

Comments
 (0)