EMQX Bride Config error

Sorry for missing your issue, the configuration structure of bridge has changed a bit in the latest version, so you need to configure it like this:

bridges {
  mqtt.test { 
    enable = true
    server = "test.com:1883"
    reconnect_interval = 15s
    proto_ver = v4
    bridge_mode = false
    ingress {
      remote {
        topic = "test"
        qos = 1
      }

      local {
        topic = "test"
        qos = "${qos}"
        retain = "${retain}"
        payload = "${payload}"
      }
    }

    egress {
      local {
        topic = "test"
      }

      remote {
        topic = "test"
        qos = "${qos}"
        retain = "${retain}"
        payload = "${payload}"
      }
    }
  }
}

Unfortunately we do not currently have a configuration structure compatible with older versions.

The example configurations in the MQTT Bridge doc have not been updated. You can first refer to Configuration - MQTT Bridges doc.