đī¸ Overview
BifroMQ's plugin mechanism allows users to integrate custom business logic with BifroMQ at runtime. Currently, BifroMQ defines 3 types of Plugin interfaces, catering to different use cases:
đī¸ Auth Provider
The Auth Provider plugin is designed to provide BifroMQ runtime with the capability to authenticate MQTT client connections and authorize Pub/Sub message topics. The interface for the plugin is defined in the following Maven module:
đī¸ Event Collector
The Event Collector Plugin is designed to gather various events generated during the execution of BifroMQ. By filtering through event types, you can focus on the events that matter to you, enabling the implementation of various business logic such as usage statistics, monitoring, alerts, etc. The Plugin's interface is defined in the following Maven module:
đī¸ Setting Provider
BifroMQ defines a category of settings (Setting) that can be modified at runtime, allowing for dynamic adjustment of BifroMQ's service behavior per tenant. The purpose of the Setting Provider Plugin is to supply custom values for these settings at runtime. The Plugin's interface is defined in the following Maven module:
đ ī¸ BifroMQ Plugin Practice and Notice
BifroMQ is a powerful messaging system that allows seamless communication between itself and customized services.