Skip to main content

Plugin Connector Development

Related Documentation
This guide covers developing OSGI plugin connectors, which are modular, hot-deployable connector extensions for Hub.

Table of Contents


Plugin vs Embedded Connectors

Comparison Table

When to Use Plugin Connectors

Use Plugin Connectors for:
  • Third-party integrations
  • Customer-specific connectors
  • Experimental connectors
  • Connectors with different release cycles
  • Connectors requiring hot deployment
  • Modular architecture requirements
Use Embedded Connectors for:
  • Core application functionality
  • Stable, well-tested connectors
  • Connectors requiring complex Spring integration
  • Performance-critical connectors
  • Connectors with rich validation needs

Development Setup

Project Structure

Dependencies

build.gradle

Plugin Implementation

Basic Plugin Connector

Plugin DSL Component

Plugins can also define DSL components that provide reusable workflows, functions, and exposed endpoints. This is done by implementing the ComponentFactory interface: