/Inrae

Primary LanguageJavaScript

INRAE

Source code for DKE - STS4IoT paper

Note: Action to do before run the code

* At line 1 of main.js file, you need to put your Token for [api.mapbox.com](https://docs.mapbox.com/help/getting-started/).
  • In ssdemo2.php, set your Kafka server:

    • $KafkaServer = "KAFKA ADDRESS";
    • $Topic_Position = 'position_data';
    • $Topic_Alert = 'delay_alert';

Installation

Save the all to a web server with PHP. That's all.

SIMULATOR

The shell script run_producer_2.sh publish at regular interval simulated robot coordinate.

USAGE: sh run_producer_2.sh kafka_broker_address:port