File System Provider
The File System Provider (the "FileStorageProvider" section) requires the RootDirectory parameter, which specifies the root directory for storing files.
The File System Provider:
-
Uses a structured directory hierarchy based on event timestamp and transaction identifier.
-
File naming convention includes event identifier and property name.
-
Implements error handling and logging.
-
Error handling: The implementation includes error handling and logging mechanisms.
-
Data management: The hierarchical directory structure (year‑month/transaction identifier) is designed to help with data aging scenarios, including archiving and bulk deleting historical data.
Directory Structure
The hierarchical directory structure (year‑month/transaction identifier), shown in the following example, is designed as an aid to archiving and aging historical data.
RootDirectory\ ├── YYYY-MM\ │ ├── TransactionID1\ │ │ ├── [EventID1]__PropertyName1.blob │ │ └── [EventID1]__PropertyName2.slob │ └── TransactionID2\ │ ├── [EventID2]__PropertyName1.blob │ └── [EventID2]__PropertyName2.slob └── YYYY-MM\ └── ...
For more details, see "FileStorageProvider" under "Event Stream Producer Configuration", in Chapter 3.