What Is MQTT?
MQTT (or MQTT3) is a lightweight messaging protocol designed for lightweight communication between devices and computer systems. Originally designed for SCADA networks, manufacturing, and low-bandwidth scenarios, MQTT has gained popularity recently due to the growth in the Internet-of-Things (IoT) space. The most recent revision of the MQTT OASIS standard is v3.1.1.
MQTT solutions are typically deployed very similarly to other enterprise messaging solutions, such as JMS or AMQP, in a client-server-client model where devices publish messages to a centralized broker and another device or application connects to a centralized broker to receive messages.
MQTT is often mentioned as a peer-to-peer communication solution. This is a misnomer. In practice, “peer-to-peer” means that a broker is being embedded with each client node and effectively becomes a (client-server)-(server-client) architecture. The downside of this approach is significant. Peer-to-peer solutions mean that the full brunt of maintenance (security, patching, logging, and monitoring) of a messaging system is required for each node, instead of just the centralized nodes in a standard architecture.
Source from Dzone.
Why have telemetry data in ERP?
The ERP systems evolution clearly indicate the importance of having the data related to all facets of the business — not only financial, accounting, supply chain and the like, but also human resources metrics, IT infrastructure status, telemetry data from your fleet or corporate vehicles, sensors data from the IoT devices (be it vending machines, temperature sensors on the shop floor, smart meters or anything else).
Here are some of the reasons to have your telemetry data fed into the ERP or another enterprise-wide platform:
- Better visibility of transportation-related processes and their share in the cost structure. Senior managers whose job implies monitoring and aligning operations of different departments will greatly benefit from having transportation data together with other logistics and transactional data to see dependencies and potential areas for improvement.
- Analysis and forecasts — joint analysis across departments and functional areas helps find non-obvious interrelations and try to foresee and prevent the unwanted situation in the future.
- Cost optimisation — transportation is always a major expense factor that includes fuel, maintenance, insurance, legal issues, etc. And usually, there’s high chance to shave off some overhead and make the process leaner.
MQTT — the key benefit here is that your data is sent to the destination (e.g ERP) as soon as it gets from the source. This is especially appealing for applications that demand near real-time data for efficient operation.