Set Up OCI Stream and Stream Pool

Before publishing messages to a stream or consuming messages from a stream, you must first create a stream in OCI Streaming.

To set up the OCI stream and stream pool:

  1. Navigate to the OCI console, and click Analytics & AI.
  2. Under Messaging, click Streaming.
  3. Click Create Stream.
  4. Enter your stream details:
    • Stream Name: Enter a name for the stream. The name doesn't have to be unique within the compartment, but must be unique to the stream pool. The stream name can't be changed. Avoid entering confidential information.
    • Compartment: Select the compartment in which to create the stream.
    • Stream Pool: Choose the stream pool to contain your stream. If the compartment has an existing stream pool, you can select it. If no stream pool exists in the compartment, click Create New Stream Pool, and configure the stream pool.
  5. Complete the Define Stream Settings:
    • Retention (in hours): Enter the number of hours (from 24 to 168) to retain messages in this stream. The default value is 24.
    • Number of Partitions: Enter the number of partitions for the stream. The maximum number is based on the limits for your tenancy. The maximum Total Write Rate and Total Read Rate values for the stream are displayed as you adjust the number of partitions.
  6. Click Create.
See "Creating a Steam" and "Creating a Stream Pool" in Explore More for more information.
The following table lists the stream information used by LogRhythm.
Field Description
Stream Name Name of the OCI Stream.
Stream ID Unique identifier of the OCI Stream (OCID).
Bootstrap Servers stream.streaming.region.oci.oraclecloud.com:9092
SASL Connection Strings tenancy/user_id/streampool_ocid1, "password="AUTH_TOKEN"
Security Protocol SASL_SSL
Security Mechanism PLAIN