Edge Flags

Updated: 4.0-rc1

  • broker-tcp-port string
    • broker’s tcp port (default “:1883”)
  • broker-tls-port string
    • broker’s tls port (default “:1884”)
  • broker-ws-port string
    • broker’s websocket port (default “:8903”)
  • broker-wss-port string
    • broker’s secure websocket port (default “:8904”)
  • code-execution-timeout int
    • How many seconds to wait before stopping a long running code service (default 600)
  • db string
    • postgres,sqlite (default “postgres”)
  • db-host string
    • address of database (default “127.0.0.1”)
  • db-pass string
    • password of the database role (default “”)
  • db-port string
    • port of db (default “5432”)
  • db-user string
    • database role to use (default “cbuser”)
  • disable-pprof boolean
    • Disables pprof output file creation and pprof web-server creation (default false)
  • edge-cookie string
    • the cookie for the edge’s session. serves as a shared secret. will be replaced soon by better ingress
  • edge-id string
    • the edge’s id
  • edge-ip string
    • the edge’s ip (default “localhost”)
  • edge-listen-port string
    • the port the edge is to listen on (default “:9000”)
  • edge-private-ip string
    • the edge’s ip (default “localhost”)
  • expiration int
    • The duration of time before the system should expire a token (in seconds)
  • expire-tokens
    • set to invalidate user tokens issued more than the system’s tokenTTL (defaults to 5 days). Dev tokens will not be removed (default true)
  • insecure-auth
    • DEVELOPMENT-ONLY - tells platform to skip encryption for passwords
  • lean-mode
    • For the edge – should we store all the server side stuff?
  • local
    • run using core_caching or the db? default is db
  • log
    • Specifies amount of logging
  • log-level string
    • raise minimum log-level (debug,info,warn,error,fatal) (default “info”)
  • logfile string
    • file we should point the logs at. “stderr” means stderr, “stdout” means stdout. (default “stdout”)
  • mqtt-auth-port string
    • mqtt auth port (default “:8905”)
  • mqtt-ws-auth-port string
    • mqtt webosocket auth port (default “:8907”)
  • mysql-connections int
    • Max # of connections to MySQL to open, per collection (default 5)
  • parent-system string
    • the parent system of the edge
  • platform-ip string
    • the ip address of the platform without port
  • platform-port string
    • port that platform message broker is listening on (default “1884”)
  • pprof-cpu-interval integer
    • The length of time, in minutes, to wait between creating successive pprof cpu profiles (default 20)
  • pprof-cpu-time integer
    • The length of time, in minutes, to gather pprof cpu profiling data (default 20)
  • pprof-mem-interval integer
    • The length of time, in minutes, to wait between creating successive pprof heap profiles (default 5)
  • pprof-max-files integer
    • The maximum number of cpu, heap, and debug profiles to retain. 0 indicates keep all of them. (default 30)
  • pprof-max-file-age integer
    • The maximum amount of time (specified in minutes) in which to retain cpu, heap, and debug profile data files. (default 1440)
  • registration-key string
    • key to require when creating a new developer account
  • rpc-timeout int
    • timeout value for rpc calls to platform (default 15)
  • sqlite-path string
    • sqlite3 db for platform data (default “./clearblade.db”)
  • sqlite-path-users string
    • sqlite3 db for user data (default “./clearblade_users.db”)
  • store-analytics
    • Should we store analytics, or just drop them? (default true)
  • store-logs
    • Should we store code service logs, or just drop them? (default true)
  • store-message-history
    • Should we store mqtt message history? (default true)
  • sync-transport string
    • Set the type of transport between edge and platform when syncing. Default is mqtt. Other options are amqp, tcp, and stub (default “mqtt”)
  • time-profile int
    • Enables time profiling of HTTP requests (in ms) (default -1)
  • insecure
    • Enables/Disables TLS connection to the parent platform (default false)