Broker guide
RabbitMQ AMQP 1.0
Queue consumption on Go/Python and publication on Go/Python/TypeScript.
When to use
Use when selecting a broker or configuring its Input/Sink endpoints.
Behavior
- Input receives messages into a pipeline; Sink publishes messages from a pipeline. Declaring an endpoint alone does not connect a graph.
- Check the deployed generator capability catalog for the selected language and direction. Updating a plugin alone does not update the backend.
- Creation is explicitly enabled per resource; existing-only is the default. Missing or incompatible resources fail instead of being silently replaced.
- Supply credentials through runtime environment/Vault configuration. Never embed secrets in architecture source, URLs or Help examples. TLS certificate paths require deployed files.
- Request completion (Done) is not a broker ACK. A publication result is not proof of downstream business processing. Unknown send outcomes must not be blindly retried.
- Input consumes a queue. Sink publishes directly to a queue or through an exchange/routing key. Accepted/released/rejected outcomes retain their native meaning.
Connection properties
Connection
PropertyTypeDescription
serversstring[]Explicit broker URL list; credentials are supplied separately.
connectTimeoutMs / operationTimeoutMsintegerConnection and operation deadlines in integer milliseconds.
tlsEnabled / tlsServerName / tlsCaFile / tlsCertFile / tlsKeyFilestringTLS configuration where exposed by this connector. Client certificate and key must be supplied together.
virtualHoststringSeparate from amqp(s) server URLs; TypeScript accepts only /.
Endpoint properties
Endpoint
PropertyTypeDescription
queueNamestringRequired on Input; direct queue destination on Sink.
exchangeName / routingKeystringExchange publication destination on Sink, or explicit binding configuration.
queueType / exchangeTypestringquorum or classic queues; direct, topic or fanout exchanges.
createQueue / createExchange / createBindingbooleanExplicit resource opt-ins, default false.
consumerCreditsintegerInput admission credit on supported runtimes.
publisherMaxInFlightintegerSink admission limit.
Python DSL declaration (wire endpoints to Input/Sink separately)
from sa_dsl import Project, Function, LOCAL_MODULE
project = Project("BrokerExample")
broker = project.rabbitmq_connector("Events", servers=["amqp://localhost:5672"],
virtual_host="/")
endpoint = broker.endpoint("Publish events", queue_name="orders", create_queue=False,
function=Function("PublishEvents", module=LOCAL_MODULE))