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
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
/). For
example:xxxtenant/abcuser/yyystreampoolocid- Obtain the tenancy name in the Oracle Cloud Console.
- 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.
- Know the stream user name. This is a user with authorization to publish or consume messages from the stream.
- Obtain the stream pool OCID by navigating to the streaming instance you are
using in the left navigation pane of the Oracle Cloud Console.
- Select Analytics & AI, then Streaming, then Stream Pools, and then Default Pool (or the specific pool name you are using).
- Copy the OCID value.
- 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.
- Select Identity & Security, then select Domains.
- 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.
- Click User management.
- In the Username column, click the specific user and select Auth tokens.
- Click Generate token.
The Generate token dialog appears.
- Enter a description and click Generate token.
- Use this token as the password.
Note:
Trust store upload is not required.