Prerequisites for Creating a Connection

You must satisfy the following prerequisites to create a connection with the Oracle Cloud Infrastructure Streaming Service Adapter.

This information is required when configuring the Oracle Cloud Infrastructure Streaming Service Adapter on the Connections page.

Assign the Correct Permissions

Assign the correct permissions to the Oracle Cloud Infrastructure Streaming Service group in the Oracle Cloud Console. This group must contain the SASL user that you enter when creating a connection on the Connections page. Note the required forward slash (/).

Allow group StreamUsers to manage streams in tenancy/compartment name       
Allow group StreamUsers to manage stream-pull in tenancy/compartment name

Allow group StreamUsers to manage stream-push in tenancy/compartment name
For example:
Allow group OracleIdentityCloudService/STREAM_TEST to manage streams in compartment TEST_COMPARTMENT
Allow group OracleIdentityCloudService/STREAM_TEST to manage stream-pull in compartment TEST_COMPARTMENT
Allow group OracleIdentityCloudService/STREAM_TEST to manage stream-push in compartment TEST_COMPARTMENT 

Policy details about letting users publish messages to and a specific stream and consume messages from streams are described in the Oracle Cloud Infrastructure documentation. See Common Policies and Details for the Streaming Service.

Know the Bootstrap Server Host Name and Port

Know the host and port of the bootstrap server to use to connect to a list of Oracle Cloud Infrastructure Streaming Services.

Know the SASL Username and Password

Know the SASL user name and password for the Simple Authentication and Security Layer (SASL) over SSL security policy. The user name is a combination of the tenancy name, stream user name, and stream pool OCID separated by forward slashes (/). For example:
xxxtenant/abcuser/yyystreampoolocid
  1. Obtain the tenancy name in the Oracle Cloud Console.
    1. From the Profile icon in the upper right corner of the page, select Tenancy. The name is displayed in the title and the Name field.
  2. Know the stream user name. This is a user with authorization to publish or consume messages from the stream.
  3. Obtain the stream pool OCID by navigating to the streaming instance you are using in the left navigation pane of the Oracle Cloud Console.
    1. Select Analytics & AI, then Streaming, then Stream Pools, and then Default Pool (or the specific pool name you are using).
    2. Copy the OCID value.
  4. Generate the SASL password to access the Oracle Cloud Infrastructure Streaming Service. This is an authorization token generated for the streams user. The password can be generated from the streaming instance.
    1. Select Identity & Security, then select Domains.
    2. Select the name of the identity domain in which you want to work. For example, under the Profile icon in the upper right corner, select the domain. You may also need to change the compartment to find the domain that you want.
    3. Click User management.
    4. In the Username column, click the specific user and select Auth tokens.
    5. Click Generate token.

      The Generate token dialog appears.

    6. Enter a description and click Generate token.
    7. Use this token as the password.

Note:

Trust store upload is not required.