Overview
In ThingsBoard, queues guarantee the message processing, handle occasional spikes, and keep the system up and running on extreme loads. Edge Queues are designed in the same way as Platform (Cloud) Queues. For a better understanding, read the Platform Queues documentation.
Tenant administrators can use any queue in the Edge Rule Chain, the same as the Platform Rule Chain. Queues can be used in checkpoint node or any analytics nodes (for a Professional Edition).
Starting with Edge 3.9, Edge supports Kafka and in-memory types of message queues:
- In-Memory: The built-in and default queue implementation. It is useful for development or proof-of-concept (PoC) environments, but is not recommended for production or any type of clustered deployments due to limited scalability.
- Kafka: A widely used, distributed, and durable message queue system designed to handle large volumes of data. It is well-suited for production environments where high throughput, fault tolerance, and scalability are critical.
All queues are created on the Platform and automatically propagated to each Edge instance connected to the Platform. Only a system administrator user can configure queues. After configuration, new changes will apply immediately. No additional assignment actions are required by tenant administrator or user.
In the current release, you cannot create, modify, or delete queues on the Edge.
Next steps
-
Getting started guide - Provide quick overview of main ThingsBoard Edge features. Designed to be completed in 15-30 minutes:
-
Installation guides - Learn how to setup ThingsBoard Edge on various available operating systems and connect to ThingsBoard Server.
-
Edge Rule Engine:
-
Rule Chain Templates - Learn how to use ThingsBoard Edge Rule Chain Templates.
-
Provision Rule Chains from cloud to edge - Learn how to provision edge rule chains from cloud to edge.
-
- Security:
- gRPC over SSL/TLS - Learn how to configure gRPC over SSL/TLS for communication between edge and cloud.
-
Features:
-
Edge Status - Learn about Edge Status page on ThingsBoard Edge.
-
Cloud Events - Learn about Cloud Events page on ThingsBoard Edge.
-
-
Use cases:
-
Manage alarms and RPC requests on edge devices - This guide will show how to generate local alarms on the edge and send RPC requests to devices connected to edge:
-
Data filtering and traffic reduce - This guide will show how to send to cloud from edge only filterd amount of device data:
-
- Roadmap - ThingsBoard Edge roadmap.