---
id: "vernemq"
type: "component"
kind: "iot-hub"
provider: "default"
category: "messaging"
docs: "https://docs.vernemq.com/configuring-vernemq/options"
url: "https://localhost:3000/catalogue/components/vernemq"
---

# VerneMQ

Clustered MQTT broker with a LevelDB message store and offline queues.

| | |
|---|---|
| Provider | [default](https://localhost:3000/catalogue?provider=default) |
| Kind | [IoT hub](https://localhost:3000/catalogue/kinds/iot-hub) |
| Category | Messaging |
| Official docs | [https://docs.vernemq.com/configuring-vernemq/options](https://docs.vernemq.com/configuring-vernemq/options) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `allowAnonymous` | boolean | — | no | false | inherited |
| `clustering` | boolean | — | no | true | inherited |
| `deviceCount` | integer | — | no | — | inherited |
| `deviceProvisioning` | boolean | — | no | — | inherited |
| `deviceTwin` | boolean | — | no | — | inherited |
| `managed` | boolean | — | no | false | **false** |
| `maxInflightMessages` | integer | — | no | 20 | inherited |
| `maxOfflineMessages` | integer | — | no | 1000 | inherited |
| `maxOnlineMessages` | integer | — | no | 1000 | inherited |
| `messagesPerDayLimit` | integer | — | no | — | inherited |
| `perDeviceIdentity` | boolean | — | no | true | inherited |
| `protocol` | enum | `mqtt`, `amqp`, `http`, `multi`, `lorawan` | no | — | **"mqtt"** |
| `retryIntervalSeconds` | integer | — | no | 20 | inherited |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 21

- [IoT Platform](https://localhost:3000/catalogue/components/alibaba-iot-platform.md) `alibaba-iot-platform` — alibabacloud
- [Alibaba Cloud Link WAN](https://localhost:3000/catalogue/components/alibaba-link-wan.md) `alibaba-link-wan` — alibabacloud
- [AWS IoT Core](https://localhost:3000/catalogue/components/aws-iot-core.md) `aws-iot-core` — aws
- [AWS IoT Device Management](https://localhost:3000/catalogue/components/aws-iot-device-management.md) `aws-iot-device-management` — aws
- [AWS IoT FleetWise](https://localhost:3000/catalogue/components/aws-iot-fleetwise.md) `aws-iot-fleetwise` — aws
- [Managed integrations for AWS IoT Device Management](https://localhost:3000/catalogue/components/aws-iot-managed-integrations.md) `aws-iot-managed-integrations` — aws
- [AWS IoT SiteWise](https://localhost:3000/catalogue/components/aws-iot-sitewise.md) `aws-iot-sitewise` — aws
- [AWS IoT Core for LoRaWAN](https://localhost:3000/catalogue/components/aws-iot-wireless.md) `aws-iot-wireless` — aws
- [Amazon Monitron](https://localhost:3000/catalogue/components/aws-monitron.md) `aws-monitron` — aws
- [Device Update for IoT Hub](https://localhost:3000/catalogue/components/azure-device-update.md) `azure-device-update` — azure
- [Azure IoT Central](https://localhost:3000/catalogue/components/azure-iot-central.md) `azure-iot-central` — azure
- [Azure IoT Hub](https://localhost:3000/catalogue/components/azure-iot-hub.md) `azure-iot-hub` — azure
- [Eclipse Ditto](https://localhost:3000/catalogue/components/ditto.md) `ditto` — default
- [EMQX](https://localhost:3000/catalogue/components/emqx.md) `emqx` — default
- [HiveMQ](https://localhost:3000/catalogue/components/hivemq.md) `hivemq` — default
- [Eclipse Hono](https://localhost:3000/catalogue/components/hono.md) `hono` — default
- [Generic IoT hub](https://localhost:3000/catalogue/components/iot-hub.md) `iot-hub` — default
- [OPC UA server](https://localhost:3000/catalogue/components/opc-ua-server.md) `opc-ua-server` — default
- [ThingsBoard](https://localhost:3000/catalogue/components/thingsboard.md) `thingsboard` — default
- [Manufacturing Connect](https://localhost:3000/catalogue/components/google-manufacturing-connect.md) `google-manufacturing-connect` — gcp
- [OCI Internet of Things Platform](https://localhost:3000/catalogue/components/oci-iot.md) `oci-iot` — oci

## Use it in a design

```yaml
nodes:
  - { id: "vernemq", component: "vernemq" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# VerneMQ: clustered MQTT broker with LevelDB message store, MQTT 5 and MQTT over WebSocket built in.
# "VerneMQ Options" gives the shipped defaults: 20 s retry interval, 20 in-flight messages,
# 1000 online and 1000 offline queued messages; allow_anonymous is off until it is turned on.
schemaVersion: "1"
type: "component"
id: "vernemq"
kind: "iot-hub"
provider: "default"
docs: "https://docs.vernemq.com/configuring-vernemq/options"
defaults:
  protocol: "mqtt"
  managed: false
properties:
  allowAnonymous:
    type: "boolean"
    default: false
  clustering:
    type: "boolean"
    default: true
  maxOnlineMessages:
    type: "integer"
    default: 1000
  maxOfflineMessages:
    type: "integer"
    default: 1000
  maxInflightMessages:
    type: "integer"
    default: 20
  retryIntervalSeconds:
    type: "integer"
    default: 20
```

Human page: https://localhost:3000/catalogue/components/vernemq
