-
In ssdemo2.php, set your Kafka server:
- $KafkaServer = "KAFKA ADDRESS";
- $Topic_Position = 'position_data';
- $Topic_Alert = 'delay_alert';
Save the all to a web server with PHP. That's all.
The shell script run_producer_2.sh publish at regular interval simulated robot coordinate.
USAGE: sh run_producer_2.sh kafka_broker_address:port