Skip to content

A simpler sensor data replayer to the inbox of an LDES in LDP or any LDP container.

License

Notifications You must be signed in to change notification settings

SolidLabResearch/KISS-decentralized-stream-replay

Repository files navigation

KISS Decentralized Stream Replayer

A simpler sensor data replayer to the inbox of an LDES in LDP or any LDP container.

Usage

Installation

npm install

Building

Now, navigate to the src/config folder and update the config.json file with the required parameters.

{
    "ldes_location": "insert_location_here",
    "frequency": 4,
    "file_location": "insert_file_location_here",
    "is_ldes": true,
}

If the is_ldes parameter is set to true, the ldes_location parameter should be the location of the LDES. The replayer will itself extract the inbox of the LDES stream. If the is_ldes parameter is set to false, the ldes_location parameter should be the location of the LDP container.

Now, build the project using the following command:

npm run build

Running

To run the project, use the following command:

npm run start

License

This code is copyrighted by Ghent University - imec and released under the MIT Licence

Contact

For any questions, please contact Kush or create an issue in the repository.