Skip to main content

Setting up Messaging

Ductape allows you to connect messaging systems to your product so it can publish and consume events asynchronously. Messaging resources are configured per environment, allowing different brokers to be used in Production and Sandbox.

Supported brokers include Kafka, RabbitMQ, AWS SQS, Redis Pub/Sub, NATS, and Google Pub/Sub.


Step 1: Open the Messaging Section

  1. Navigate to your Workspace.
  2. Open the Product you want to configure.
  3. In the sidebar, locate the Resources section.
  4. Click Messaging.

Product sidebar showing messaging under resources


Step 2: Click "Add"

  1. On the Messaging page, click the Add button.
  2. A configuration form will appear.

Step 3: Configure the Messaging Resource

Fill in the following fields:

FieldDescription
Configuration NameHuman-readable name for the messaging setup
TagAuto-generated unique identifier (editable)
DescriptionDescription of Configuration

Messaging configuration form showing name and tag fields


Step 4: Select Broker Type Per Environment

For each environment, choose the messaging broker you want to use.

Supported broker options include:

  • Kafka
  • RabbitMQ
  • AWS SQS
  • Redis PubSub
  • NATS
  • Google PubSub

You can configure different brokers for different environments if needed.

Broker selection fields for sandbox and production environments


Step 5: Provide Connection Details

After selecting the broker type, provide the required connection details for that provider.

Examples may include:

BrokerExample Configuration
KafkaBroker URL, Topic
RabbitMQConnection URL, Exchange
AWS SQSQueue URL, Access Credentials
Redis PubSubRedis Connection URL
NATSNATS Server URL
Google PubSubProject ID, Service Account Credentials
  1. Fill in the required fields for each configured environment.
  2. Click Submit.

Messaging connection configuration fields


Step 6: Verify the Messaging Resource

After submitting:

  1. The messaging configuration will appear in the Product Messaging list.
  2. Your product can now publish and consume messages through the configured broker.

Messaging list showing newly added messaging configuration


Next Steps