Onifast IOTstream is an ultra-lightweight, high-performance MQTT broker built directly into the Onifast ecosystem. Route telemetry data from smart devices using standard MQTT or secure WebSockets.
Fully-isolated namespaces, dual transport support, and seamless webhook integration for modern event-driven architectures.
username/topic), preventing cross-tenant access.onifast-iotstream.db).The MQTT broker enforces security and namespaces directly inside Go routines.
To guarantee multi-tenant security, the broker blocks all subscriptions and publishes outside the tenant's namespace prefix.
// Verify publisher permissions func (b *Broker) CanPublish(user, topic) error { if user != "root" && !strings.HasPrefix(topic, user+"/") { return fmt.Errorf("topic outside namespace") } // check if tenant enabled return nil }
# Register webhook for a tenant's topics POST /internal/webhook/add { "username": "tenant1", "topic_filter": "tenant1/sensors/+", "webhook_url": "https://api.myweb.com/webhook" } # Webhook payload headers sent to URL X-MQTT-Topic: tenant1/sensors/temp X-MQTT-Username: tenant1 Content-Type: application/octet-stream
Trigger external APIs asynchronously when hardware devices publish to topics.
Install Onifast Panel and run your custom IoT stream gateway today.