百度智能云

All Product Document

          Intelligent Edge

          Baetyl-agent Configuration

          By default, the module reads configuration file from the etc/baetyl working directory, and the configuration file format is interpreted as follows:

          remote: Configuration item of Agent module docking BIE cloud management suite. 
            mqtt: BIE cloud MQTT channel configuration 
              clientid: [Must] Client ID connecting cloud MQTT channel must be the ID of cloud core device. 
              address: [Must] Cloud MQTT channel address must be SSL Endpoint. 
              username:[Must] The user name of cloud MQTT channel connection must be the user name of cloud core device. 
              ca: [Must] Cloud MQTT channel connection CA certificate path 
              key: [Must] Client private key path of cloud MQTT channel connection 
              cert: [Must] Client public key path of cloud MQTT channel connection 
              timeout: Default value: 30s, Cloud MQTT channel connection time-out period. 
              interval: Default value: 1m, Maximum interval time of cloud MQTT channel reconnection, increasing to the maximum value from 500 microseconds by doubling. 
              keepalive: Default value: 1m, Hold time of cloud MQTT channel connection. 
              cleansession: Default value: false, Cloud MQTT channel connection: Session held or not. 
              validatesubs: Default value: false, Cloud MQTT channel connection: subscription result checked or not, exit after reporting of error in case of subscription failure discovered. 
              buffersize: Default value: 10, Send the message memory queue size, and abnormal exit can result in message loss. 
            http:BIE cloud HTTP channel configuration 
              address: Be able to infer the cloud HTTPS channel address according to the address of MQTT channel, without need for configuration. 
              timeout: Default value: 30s, Cloud HTTPS channel connection time-out period. 
            report: Agent reports cloud configuration. 
              url: Report URL, without need for configuration. 
              topic: Report theme template, without need for configuration. 
              interval:Default value: 1m, Report interval time 
            desire: Agent receives cloud distribution configuration. 
              topic: Distribute theme template, without need for configuration. 
          Previous
          Application Configuration
          Next
          Baetyl-hub Configuration