---
id: "oci-events"
type: "component"
kind: "pubsub-topic"
provider: "oci"
category: "messaging"
docs: "https://docs.oracle.com/en-us/iaas/Content/Events/Concepts/eventsoverview.htm"
url: "https://localhost:3000/catalogue/components/oci-events"
---

# OCI Events

CloudEvents bus that matches tenancy resource state changes and delivers them to notifications, streams or functions.

| | |
|---|---|
| Provider | [oci](https://localhost:3000/catalogue?provider=oci) |
| Kind | [Pub/Sub topic](https://localhost:3000/catalogue/kinds/pubsub-topic) |
| Category | Messaging |
| Official docs | [https://docs.oracle.com/en-us/iaas/Content/Events/Concepts/eventsoverview.htm](https://docs.oracle.com/en-us/iaas/Content/Events/Concepts/eventsoverview.htm) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `actionTarget` | enum | `notifications`, `streaming`, `functions` | no | — | inherited |
| `delivery` | enum | `at-most-once`, `at-least-once`, `exactly-once` | yes | — | inherited |
| `eventFormat` | enum | `cloudevents` | no | "cloudevents" | inherited |
| `managed` | boolean | — | no | false | **true** |
| `objectStorageEventsOptIn` | boolean | — | no | false | inherited |
| `ordering` | enum | `none`, `per-key` | no | "none" | **"none"** |
| `replay` | boolean | — | no | false | **false** |
| `rulesPerTenancy` | integer | — | no | 50 | inherited |
| `topicPerEventType` (advanced) | boolean | — | no | true | **false** |

Bold values are the ones this component pins.

## Rules that apply · 1

### Pub/Sub topic where replay is required `pubsub-replay-required` (error)

- Page: https://localhost:3000/catalogue/rules/pubsub-replay-required.md
- Why: The design declares that consumers must be able to replay history. A fan-out topic that does not retain messages cannot deliver that.
- Applies to: every node of kind pubsub-topic
- Message: Topic '{{node.id}}' cannot replay messages, but the design requires replay. Use a stream or a replayable queue.

It fires when:

- all of these hold:
  - the design requirement `messaging.replay` is true
  - the node's `replay` is false

## Other products of the same kind · 12

- [EventBridge](https://localhost:3000/catalogue/components/alibaba-eventbridge.md) `alibaba-eventbridge` — alibabacloud
- [Amazon EventBridge](https://localhost:3000/catalogue/components/aws-eventbridge.md) `aws-eventbridge` — aws
- [Amazon SNS](https://localhost:3000/catalogue/components/sns.md) `sns` — aws
- [Azure Event Grid](https://localhost:3000/catalogue/components/azure-event-grid.md) `azure-event-grid` — azure
- [Azure Event Grid MQTT Broker](https://localhost:3000/catalogue/components/azure-event-grid-mqtt.md) `azure-event-grid-mqtt` — azure
- [Eclipse Mosquitto](https://localhost:3000/catalogue/components/mosquitto.md) `mosquitto` — default
- [MQTT broker](https://localhost:3000/catalogue/components/mqtt-broker.md) `mqtt-broker` — default
- [NanoMQ](https://localhost:3000/catalogue/components/nanomq.md) `nanomq` — default
- [Generic Pub/Sub topic](https://localhost:3000/catalogue/components/pubsub-topic.md) `pubsub-topic` — default
- [Redis Pub/Sub](https://localhost:3000/catalogue/components/redis-pubsub.md) `redis-pubsub` — default
- [Eventarc](https://localhost:3000/catalogue/components/google-eventarc.md) `google-eventarc` — gcp
- [Google Cloud Pub/Sub](https://localhost:3000/catalogue/components/google-pubsub.md) `google-pubsub` — gcp

## Use it in a design

```yaml
nodes:
  - { id: "oci-events", component: "oci-events" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# OCI Events: managed CloudEvents bus for tenancy resource state changes. A rule filters events and
# delivers them to a Notifications topic, a Streaming stream or a function; 50 rules per tenancy and
# Object Storage buckets must opt in. Facts from "Overview of Events".
schemaVersion: "1"
type: "component"
id: "oci-events"
kind: "pubsub-topic"
provider: "oci"
docs: "https://docs.oracle.com/en-us/iaas/Content/Events/Concepts/eventsoverview.htm"
defaults:
  managed: true
  replay: false
  ordering: "none"
  topicPerEventType: false
properties:
  eventFormat:
    type: "enum"
    values: ["cloudevents"]
    default: "cloudevents"
  actionTarget:
    type: "enum"
    values: ["notifications", "streaming", "functions"]
  rulesPerTenancy:
    type: "integer"
    default: 50
  objectStorageEventsOptIn:
    type: "boolean"
    default: false
```

Human page: https://localhost:3000/catalogue/components/oci-events
