{"schemaVersion":1,"resourceType":"connector","slug":"rabbitmq","name":"RabbitMQ","catalog":"rabbitmq","description":"RabbitMQ broker state via the Management API, plus non-destructive stream reads","language":"Go","categories":["enterprise"],"repository":"https://github.com/Query-farm/vgi-rabbitmq","license":"0BSD","generatedAt":"2026-12-01T18:22:16+00:00","runtime":{"engineVersion":"2.0.1","protocolVersion":"3.4"},"release":{"tag":"v0.2.0","publishedAt":"2026-11-25T19:05:22Z","url":"https://github.com/Query-farm/vgi-rabbitmq/releases/tag/v0.2.0"},"links":{"html":"https://query.farm/products/orchard/connectors/rabbitmq/","llms":"https://query.farm/products/orchard/connectors/rabbitmq/llms.txt","markdown":"https://query.farm/products/orchard/connectors/rabbitmq/index.md","json":"https://query.farm/products/orchard/api/v1/connectors/rabbitmq.json","objects":"https://query.farm/products/orchard/api/v1/connectors/rabbitmq/objects.json","search":"https://query.farm/products/orchard/api/v1/search.json?kind=object&connector=rabbitmq&q={query}"},"authentication":{"mode":"required","guidance":"Supply your own service credentials or required connection options before querying protected data.","interpretation":"Secret parameter required flags describe the upstream declaration; they do not override the service-level mode above. Keep secrets in environment variables or the deployment secret store. SQL values in angle brackets are placeholders, not automatic environment lookups. Native DuckDB and Haybarn 2.0.1 do not provide a SQL getenv() function, even when worker-supplied snippets mention it. Read environment variables in your application and pass credential values through client parameter bindings (for example, Python con.execute(\"CREATE SECRET stripe (TYPE stripe, api_key ?)\", [os.environ[\"STRIPE_API_KEY\"]]) after attaching the connector. Omit unused optional parameters and keep real values out of saved SQL and logs.","secrets":[{"type":"rabbitmq","description":"Connection to a RabbitMQ broker: the Management HTTP API (basic auth or OAuth 2 bearer token), an optional AMQP URL for stream reads, and TLS options.","documentation":"https://github.com/Query-farm/vgi-rabbitmq#secrets-and-configuration","parameters":[{"name":"management_url","type":"VARCHAR","required":false,"redact":false,"description":"Management plugin root, e.g. 'http://localhost:15672' or 'https://rabbit.example.com/rabbitmq' behind a path prefix. /api/... is appended."},{"name":"username","type":"VARCHAR","required":false,"redact":false,"description":"Basic-auth user name for the Management API (and for AMQP when amqp_url has no user)."},{"name":"password","type":"VARCHAR","required":false,"redact":true,"description":"Basic-auth password."},{"name":"bearer_token","type":"VARCHAR","required":false,"redact":true,"description":"OAuth 2 access token, sent as 'Authorization: Bearer <token>' (rabbitmq_auth_backend_oauth2); for AMQP it is sent as the password."},{"name":"amqp_url","type":"VARCHAR","required":false,"redact":true,"description":"AMQP 0-9-1 URL used by stream_messages, e.g. 'amqp://user:pass@localhost:5672/' or 'amqps://...'. The vhost argument overrides its path."},{"name":"tls_ca_cert","type":"VARCHAR","required":false,"redact":false,"description":"PEM CA bundle that signs the broker's certificate (HTTPS and AMQPS)."},{"name":"tls_client_cert","type":"VARCHAR","required":false,"redact":false,"description":"PEM client certificate for mutual TLS."},{"name":"tls_client_key","type":"VARCHAR","required":false,"redact":true,"description":"PEM private key of tls_client_cert."},{"name":"tls_server_name","type":"VARCHAR","required":false,"redact":false,"description":"Server name to verify instead of the URL's host."},{"name":"tls_skip_verify","type":"VARCHAR","required":false,"redact":false,"description":"'true' disables certificate verification (testing only)."}],"requiredBy":["bindings","channels","connections","consumers","definitions_summary","deprecated_features","exchanges","feature_flags","global_parameters","health_checks","nodes","operator_policies","overview","parameters","peek_messages","permissions","policies","queues","shovels","stream_messages","topic_permissions","users","vhosts"],"createSql":"CREATE SECRET rabbitmq (\n    TYPE rabbitmq,\n    management_url  '<management_url>',\n    username        '<username>',\n    password        '<RABBITMQ_PASSWORD>',  -- secret\n    bearer_token    '<BEARER_TOKEN>',  -- secret\n    amqp_url        '<RABBITMQ_AMQP_URL>',  -- secret\n    tls_ca_cert     '<tls_ca_cert>',\n    tls_client_cert '<tls_client_cert>',\n    tls_client_key  '<TLS_CLIENT_KEY>',  -- secret\n    tls_server_name '<tls_server_name>',\n    tls_skip_verify '<tls_skip_verify>'\n);"}]},"deployment":{"local":{"methods":[{"id":"github","label":"From GitHub","icon":"simple-icons:github","steps":[{"title":"Attach the release directly","description":"Downloads the latest release for your platform and caches it locally.","lang":"sql","code":"ATTACH 'rabbitmq' AS rabbitmq (\n  TYPE vgi,\n  LOCATION 'github-auto://Query-farm/vgi-rabbitmq'\n);"}]},{"id":"docker","label":"Docker","icon":"simple-icons:docker","steps":[{"title":"Attach the signed image","description":"Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.","lang":"sql","code":"ATTACH 'rabbitmq' AS rabbitmq (\n  TYPE vgi,\n  LOCATION 'oci://ghcr.io/query-farm/vgi-rabbitmq:0.2.0'\n);"}]}],"pinnedMethods":[{"id":"github","label":"From GitHub","icon":"simple-icons:github","steps":[{"title":"Attach the release directly","description":"Uses the verified release each time you attach the connector.","lang":"sql","code":"ATTACH 'rabbitmq' AS rabbitmq (\n  TYPE vgi,\n  LOCATION 'github-auto://Query-farm/vgi-rabbitmq@v0.2.0'\n);"}]},{"id":"docker","label":"Docker","icon":"simple-icons:docker","steps":[{"title":"Attach the signed image","description":"Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.","lang":"sql","code":"ATTACH 'rabbitmq' AS rabbitmq (\n  TYPE vgi,\n  LOCATION 'oci://ghcr.io/query-farm/vgi-rabbitmq:0.2.0'\n);"}]}]},"selfHost":{"instructions":"https://github.com/Query-farm/vgi-rabbitmq","connectionGuide":"https://query.farm/vgi/connect-to-a-worker/","guidance":"Deploy using the connector repository instructions and use its supported HTTP or SSH transport. Replace example URLs with your actual deployment; configure its authentication."},"queryFarm":{"available":true,"console":"https://auth.queryfarm.cloud/console/new?worker=rabbitmq","organizationMonthlyMinimumUsd":10,"pricing":"https://query.farm/products/orchard/hosted/"},"publicDemo":null},"setup":{"extensions":{"duckdb":"SET allow_extension_repositories = 'allowed';\n\nCREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm\n    WITH PREFIX 'https://duckdb-extensions.query.farm';\n\nINSTALL vgi FROM query_farm;\nLOAD vgi FROM query_farm;","haybarn":"INSTALL vgi FROM community;\nLOAD vgi;"},"attachSql":"ATTACH 'rabbitmq' AS rabbitmq (\n  TYPE vgi,\n  LOCATION 'github-auto://Query-farm/vgi-rabbitmq'\n);","attachOptions":[],"note":"Install and load VGI, attach the connector using the catalog alias shown here, then create required secrets. Replace placeholders and omit unused optional secret parameters. Satisfy file, network and credential prerequisites before executing a query."},"example":{"title":"Check your cluster’s message backlog","sql":"SELECT cluster_name, rabbitmq_version, messages_ready, messages_unacknowledged, queues, connections FROM rabbitmq.main.overview()","requiresCredentials":true,"note":null,"objects":[{"name":"rabbitmq.main.overview","kind":"table_function","links":{"html":"https://query.farm/products/orchard/connectors/rabbitmq/#obj-main-overview","markdown":"https://query.farm/products/orchard/connectors/rabbitmq/objects/table_function.bWFpbg.b3ZlcnZpZXc.md","json":"https://query.farm/products/orchard/api/v1/connectors/rabbitmq/objects/table_function.bWFpbg.b3ZlcnZpZXc.json"}}],"evidence":{"status":"not_captured","note":"No executed result is recorded for this exact example. Catalog verification does not establish that this query ran."},"artifact":null},"objects":{"total":25,"index":"https://query.farm/products/orchard/api/v1/connectors/rabbitmq/objects.json","search":"https://query.farm/products/orchard/api/v1/search.json?kind=object&connector=rabbitmq&q={query}"},"agentTasks":["Which queues in the shop vhost have messages ready, and how many each?","How many queues of each type (classic, quorum, stream) does the broker have?","Which queues and exchanges does the 'orders' exchange in vhost 'shop' route to, and with which routing keys?","Which RabbitMQ users are administrators?","Where does the shovel 'orders-to-archive' send messages? Give its destination URI.","What message TTL does the policy orders-ttl set, and which queues does it apply to?","Is any RabbitMQ node under a memory or disk alarm?","How many messages per routing key are in the 'events' stream of vhost 'shop'? Do not consume anything."],"provenance":{"generatedAt":"2026-12-01T18:22:16+00:00","repository":"https://github.com/Query-farm/vgi-rabbitmq","harvest":{"status":"ok","method":"github-auto","error":null,"vgi_version":"9773130dde"},"catalogVerification":{"verified":true,"status":"passed","total":2,"passed":2,"failed":0,"needs_credentials":0,"location":"github-auto://Query-farm/vgi-rabbitmq@v0.2.0","transport":"github-auto","environment":{"vgi_extension_version":"9773130dde","haybarn_version":"2.0.1rc3","engine_version":"v2.0.1","python":"3.12.4","platform":"darwin_arm64","protocol_version":"3.4.0"},"checked_at":"2026-12-01T06:16:17+00:00"},"interpretation":"Catalog verification records the harvest environment. It is not proof that every query or current live API call succeeds. Only an example with captured_result has a saved result for that exact SQL."},"interpretation":["Missing, null, or undeclared metadata means unknown; do not invent defaults, credential scope, platform support or endpoint URLs.","Search is keyword retrieval, not proof of a capability. Read the exact object declaration before generating SQL.","A table and a table function can have the same name. Preserve parentheses and use the matching overload and schema.","Service credentials, external data availability and deployment authentication are separate requirements."]}