Guides
R24 AMR | Min(s) read

Installing Schema-Registry and Kafka on OpenShift

This section explains the steps to install Schema-Registry and Kafka on OpenShift.

To install Schema-Registry and Kafka on OpenShift,

  1. Execute the below steps to configure Kafka and Schema Registry.
    1. Modify the values.yaml file to accommodate the other components required for TDE.
    2. Add the Kafka charts configuration.
  2. Login to OC and select Copy Login Command from the drop-down in the top right corner.

    Copying OpenShift login command

  3. Log in again and select Display Token.
  4. Copy the token under ‘Your API token is’.
  5. Execute the below command with the copied token.

    API token to be copied

  6. Execute the below command with the copied token.

    oc login –token=sha256~16fE_oS1ASiURrP7sq5ZEjqpbo0XB-THHDHCBBSrQjM –server=https://api.ocp.mehmail.loc:6443

    Executing the copied API token

  7. Run the below command to create the Kafka project.

    oc new-project reh-kafka

    Command to create Kafka project

  8. Run the below command to install the Helm charts.

    helm install kafka-oss ./helm/kafka_chart

    Command to install helm charts

  9. Run the below command to check if the pods are deployed.

    oc get pod

  10. Ensure that the kafka-oss-cp-schema-registry pod has the status as ‘Running’.

    If the statuses of pods are not equal to ‘Running’, check the log for the DES components.

  11. Run the below command to check the services.

    oc get svc

    Checking the services

  12. Note down the schema registry IP, for example, kafka-oss-cp-schema-registry is the name of the service that needs to be used as the “schema ip” in the helm chart.

Copyright © 2020- Temenos Headquarters SA

Published on :
Thursday, May 30, 2024 12:20:08 PM IST