Skip to content

Commit 2b76a91

Browse files
Merge pull request #79 from contentstack/development
DX | 28-07-2025 | Release
2 parents b3fa093 + 4b7658f commit 2b76a91

File tree

5 files changed

+270
-340
lines changed

5 files changed

+270
-340
lines changed

.talismanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ fileignoreconfig:
33
ignore_detectors:
44
- filecontent
55
- filename: package-lock.json
6-
checksum: 5695a79cc3c8166b253fcdda6704060f7527ea8ab20887a18cc8330478930b6d
6+
checksum: 0190df88f077ce6702274ad4d5c8c2f5507282ccaa008523562bf1ffef93c519
77
- filename: .husky/pre-commit
88
checksum: 1b9367d219802de2e3a8af9c5c698e0c255c00af89339d73bdbb8acf5275079f
99
version: ""

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,23 @@ And here's an example to get you started:
154154
}
155155
```
156156

157+
### Environment Variables
158+
159+
The following environment variables can be used to customize the behavior of Contentstack DataSync Manager:
160+
161+
| Variable | Description | Default |
162+
|--------------|-----------------------------------------------------------------------------|------------------------|
163+
| `TOKEN_PATH` | Path to the directory where token/checkpoint/ledger files are stored. | Project root directory |
164+
| `PLUGIN_PATH`| Path to the directory where plugins are loaded from. | Project root directory |
165+
| `NODE_ENV` | Node.js environment (affects config/environment selection). | `development` |
166+
| `SYNC_ENV` | Overrides the environment used for sync operations. | Value of `NODE_ENV` |
167+
| `KILLDURATION`| Time (in ms) before the process is forcefully killed (overrides config). | Value from config |
168+
169+
**Note:**
170+
- `TOKEN_PATH` is especially useful for storing token data in a custom directory (e.g., for selective re-syncing based on timestamps).
171+
- If a relative path is provided, it is resolved from the project root.
172+
- These variables can be set in your shell or in your process manager configuration.
173+
157174
### Further Reading
158175

159176
- [Getting started with Contentstack DataSync](https://www.contentstack.com/docs/guide/synchronization/contentstack-datasync)

0 commit comments

Comments
 (0)