Connector names must be unique within each connector type. A Kafka connector and a MongoDB connector can share the same name, but two Kafka connectors cannot.
Kafka Connector
A Kafka connector specifies the bootstrap servers Devset uses to connect to your Kafka cluster. Fields:string
required
A unique name for this connector. This is the value you set in
producerName on a Kafka workflow.string
required
A comma-separated list of
host:port addresses for one or more Kafka brokers. For example: localhost:9092 or broker1:9092,broker2:9092.RabbitMQ Connector
A RabbitMQ connector provides the host, port, virtual host, and credentials needed to open an AMQP connection. Fields:string
required
A unique name for this connector. This is the value you set in
producerName on a RabbitMQ workflow.string
required
The hostname or IP address of the RabbitMQ server, for example
localhost or rabbit.staging.internal.integer
required
The AMQP port. The default RabbitMQ port is
5672; TLS connections typically use 5671.string
required
The RabbitMQ virtual host to connect to. Use
"/" for the default virtual host.string
required
The username for AMQP authentication.
string
required
The password for AMQP authentication.
MongoDB Connector
A MongoDB connector is used by stagequery blocks to execute lookups during workflow execution. It is not a broker connector and is not referenced by producerName.
Fields:
string
required
A unique name for this connector. This is the value you set in
query.connection on a stage.string
required
A MongoDB connection URI, for example
mongodb://localhost:27017. Supports replica set URIs and Atlas connection strings.string
required
The default database to connect to. This can be overridden per query in the stage’s
query.database field.string
The username for MongoDB authentication. Leave empty when authentication is handled by the connection string or when connecting without credentials.
string
The password for MongoDB authentication. Leave empty when authentication is handled by the connection string.
Referencing a Connector in a Workflow
Broker connectors (Kafka and RabbitMQ) are referenced in the workflow’s top-levelproducerName field. The value must exactly match the name of a configured connector of the matching type:
query blocks using the connection field:
Managing Connectors
Open the Settings UI at/settings in the Devset UI to create, edit, and delete connectors. You can also manage connectors programmatically using the Devset API.
To add a connector:
- Navigate to
/settings. - Select the connector type tab: Kafka, RabbitMQ, or MongoDB.
- Click Add Connector.
- Fill in the required fields and click Save.
producerName reference in any affected workflows before deleting.