11.1 Creating Topics for OCNADD
Create topics (MAIN, SCP, SEPP, and NRF) using admin service, before starting data ingestion. For more details on topic and partitions see, "Kafka PVC Storage Requirements" section of Oracle Communications Network Analytics Data Director Benchmarking Guide.
To create a topic connect to any worker node and send a POST curl request to the API Endpoint described below.
API Endpoint : <ClusterIP:Admin
Port>/ocnadd-admin-svc/v1/topic
{
"topicName":"<topicname>",
"partitions":"3",
"replicationFactor":"2",
"retentionMs":"120000"
}Note:
- In case worker node access is not available then the adminservice Service-Type
can be changed to LoadBalancer or NodePort in the admin service
values.yaml(helm upgrade is required for any such changes) - For Loadbalancer service ensure that the admin port is not blocked in the cluster.