OCI Queue, OCI Streaming and RabbitMQ: selection criteria
All three carry messages, but they serve different consumption models. Criteria for choosing between a managed work queue, an event log and a self-managed broker, and an adoption test to validate the decision.
OCI Queue, OCI Streaming and RabbitMQ carry messages between applications, but they are not variants of one product: they serve different consumption models. The right choice starts with two questions, how the message is consumed and what must happen after it is processed. Choosing by product name often forces building features another model already provides.
A second factor is operational responsibility. A managed service moves infrastructure operation to the provider; a self-managed broker keeps more decisions, and more work, within the organization. In both cases, business processing and its error handling remain the team's responsibility. This article develops both factors and proposes an adoption test.
Two models: pending work and event history
A work queue represents tasks waiting to be executed. Several workers share them, and each one acknowledges or deletes what it finishes. The model fits, for example, document generation requests, where what matters is knowing what is still pending and resolving each request once.
An event log keeps entries for a defined retention period and lets each reader keep its own position. The OCI Streaming documentation describes immutable messages that can be re-read within that retention. It is the right model when one application updates a view and another analyzes the same events.
Ordering has a scope that must be stated precisely. OCI Streaming preserves order within each partition, but establishes no global sequence across partitions. According to the partitioning guide, messages with the same key go to the same partition, so choosing the key is a design decision.

OCI Queue: distributing tasks
OCI Queue is a managed service for decoupling applications and processing messages asynchronously. It is a suitable option for distributing tasks without operating broker nodes. The application remains responsible for recording which work was accepted and how its result is queried.
In regular consumption, a received message becomes invisible to other consumers. The worker deletes it when done and, if it needs more time, can update its visibility. That window must match the real processing time: a task that exceeds it may be delivered again.
The model implies at-least-once processing. Delivery does not guarantee the business effect happens exactly once, and a crash between saving the result and deleting the message is enough to cause a repetition. The consumer must therefore be idempotent. Retention, for its part, does not turn the queue into an indefinite archive.
The OCI Queue DLQ receives messages that exceed the failed-delivery policy. Alerts, inspection and a recovery mechanism must exist before its retention expires. Message and parameter limits are taken from the current documentation, not from another implementation.
OCI Streaming: independent reads
Streaming fits processes where keeping and re-reading events is a requirement. An illustrative example: an inventory entry feeds an operational projection and an analytics process. Each reader advances from its own position, and one reader's progress does not remove the event the other still needs.
Consumer groups distribute partitions among their members. Useful consumption capacity depends on the number of partitions and the key distribution, not only on the number of instances. A key that concentrates most events unbalances the work even when other consumers are available.
Re-reading requires distinguishing two operations. Rebuilding a view from old events is usually acceptable; resending a notification or issuing a document is not. Each consumer should document whether it tolerates repetition or needs a register of effects already applied.
OCI offers Apache Kafka API compatibility for Streaming, with differences and supported features that must be reviewed. An application built for Kafka does not necessarily work unchanged: the clients and operations it uses must be verified, along with authentication and connectivity.
Self-managed RabbitMQ: control over routing
A self-managed RabbitMQ broker is justified when the organization already depends on its model of exchanges, bindings and protocols, or needs control over topology and placement. The exchanges documentation explains routing to queues through bindings. That control requires agreeing who administers declarations and how they change.
Publishing and consuming have separate confirmations. Publisher confirms indicate the broker accepted the message; the consumer acknowledgement relates to processing a delivery. Both sides are configured according to the recovery need, without reading a publication's acceptance as completion of the work.
Replication is achieved with quorum queues, which have their own operating conditions. The safety of moving messages to a dead-letter queue and the behavior of retries depend on policies and the installed version. A basic requeue is not a substitute for a delay strategy.
Operating the broker adds upgrades, certificates, disk capacity and node recovery to the team's tasks. The production deployment guide is the reference for preparing that operation. Before opting for self-managed infrastructure, owners should be assigned to each task and recovery rehearsed in a representative environment.
A verifiable selection criterion
The comparison below refers to the primary need and does not attempt to list every capability of each product; RabbitMQ also offers streams, which should be evaluated separately if considered. The chosen criterion must be demonstrable with a real application flow.
| Primary need | Option to evaluate | Required check |
|---|---|---|
| Distribute tasks without operating the broker | OCI Queue | Deletion after success, visibility and recovery of failures. |
| Keep events and re-read them | OCI Streaming | Sufficient retention, partition keys and consumer positions. |
| Control routing and deployment | Self-managed RabbitMQ | Topology, confirmations and real capacity to operate and recover the broker. |
Total cost cannot be inferred from infrastructure alone. It includes operation, client adaptation and maintenance of recovery procedures. A sound estimate is based on the expected volume and the current terms of the chosen service, without extrapolating from another workload.
A scoped adoption test
Before moving every flow, one with an observable business result is chosen. How lost work and duplicated effects will be detected is defined in advance, and that definition is the evaluation criterion. The test includes failures, not only correct sending and reading.
- Consumer interrupted after persisting the effect, and its recovery verified.
- Invalid message followed through to the owner's intervention.
- In Streaming, restart from an earlier position and review of effects and ordering per partition.
- In self-managed RabbitMQ, unavailability of a node according to the planned topology.
- Review of permissions, lag monitoring and operating documentation with the support team.
Xterra Engine supports the selection of a messaging platform with an adoption test like this one, run on a real client flow.