From a177d1d0a804b3f4c826edb0307f52d01ef75bac Mon Sep 17 00:00:00 2001 From: Devdutt Shenoi Date: Thu, 29 Aug 2024 14:30:25 +0530 Subject: [PATCH] revert unexpected changes in f33ba7e74 --- configs/config.toml | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/configs/config.toml b/configs/config.toml index 1e328f75..8991a1f9 100644 --- a/configs/config.toml +++ b/configs/config.toml @@ -202,35 +202,3 @@ port = 3333 # - interval: time in seconds after which device-shadow is pushed onto platform, default value is 60 [device_shadow] interval = 30 - -# The on-device service bus exposes an MQTT interface for inter-process communication -# Required Parameters -# - port: the port on which the broker/server is listening for incoming service connections -# - joins: description of how uplink will join incoming data and push outgoing data streams -# - console_port: port on which the rumqttd console API is exposed -[bus] -port = 1883 -console_port = 3030 -joins = { output_streams = [ - { name = "location", construct_from = [ - { input_stream = "gps", select_fields = [ - "latitude", - "longitude", - ] }, - { input_stream = "altimeter", select_fields = [ - "altitude", - ] }, - ], push_interval_s = 60, no_data_action = "null", publish_on_service_bus = true }, - { name = "device_shadow", construct_from = [ - { input_stream = "device_shadow", select_fields = "all" }, - ], push_interval_s = "on_new_data", no_data_action = "previous_value", publish_on_service_bus = true }, - { name = "example", construct_from = [ - { input_stream = "stream_one", select_fields = [ - "field_x", - "field_y", - ] }, - { input_stream = "stream_two", select_fields = [ - { "field_z" = "field_x" }, - ] }, - ], push_interval_s = 120, no_data_action = "previous_value", publish_on_service_bus = false }, -] }