Development and Testing Configuration with FileSender Example
This configuration example is designed for local development and testing. It uses a FileSender to write events to the local file system instead of to a live messaging service. It includes a single file‑based logger for detailed debugging and sets up local directories for file reading, topic management, and blob storage.
This development and testing configuration with FileSender setup allows developers to try out the ESP without needing access to cloud resources.
{ "Modules": { "Reader": "File", "Sender": "File", "TopicManager": "File", "Serializer": "Json", "StorageProvider" : "File", "SchemaGenerator": "Json", "SchemaRegistry": "None" }, "Configurations": { "FileReader": { "CaptureDirectory": "C:\\Events\\ChangeCapture", "UndeliverableDirectory": "C:\\Events\\ChangeCapture\\undeliverable", "RunContinuously": true, "Delay": 200 }, "FileTopicManager": { "TopicFileName": "C:\\Events\\Config\\JadeTopics.config.json" }, "FileSender": { "OutputDirectory": "C:\\Events\\EventCapture" }, "FileStorageProvider": { "RootDirectory": "C:\\Events\\ChangeCapture\\Blobs" }, "SizeThresholds": { "SlobThresholdBytes": "300KB", "BlobThresholdBytes": "300KB" }, "Catalog" : { "CatalogDirectory": "C:\\Jade\\System\\Journals" }, "SchemaCache": { "CacheRootDirectory": "C:\\Events\\SchemaCache" }, "Logger": { "LogFileName": "C:\\Events\\Logs\\JadeEventProducer_Info.log", "MaxLevel" : "Info" } } }
Key aspects of this development and testing configuration with FileSender are as follows.
-
Uses FileSender for local file output, suitable for development and testing.
-
Single file Logger is configured for detailed debugging.
-
FileReader is set to run continuously.
-
All directories are set to local paths for easy access and monitoring.