You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This wiki is for those who want to setup the DMaaP for creating and working with the authenticated topics.  In this setup, DMaaP is connected to the AAF deployed in the WindRiver VM 10.12.6.214.

After making the following changes rebuild the chart by running make dmaap.


FileChange

oom/kubernetes/dmaap/charts/dmaap-bus-controller/values.yaml

Update aafURL value to https://aaf-onap-test.osaaf.org:8095/

oom/kubernetes/dmaap/charts/dmaap-bus-controller/resources/config/dmaapbc.properties

Update UseAAF value to true

oom/kubernetes/dmaap/charts/message-router/values.yamlUpdate image value to onap/dmaap/dmaap-mr:1.1.8
oom/kubernetes/dmaap/charts/message-router/charts/message-router-kafka/values.yamlUpdate image value to onap/dmaap/kafka01101:0.0.2
oom/kubernetes/dmaap/charts/message-router/templates/deployment.yamlUpdate env variable enableCadi to true
oom/kubernetes/dmaap/charts/message-router/charts/message-router-kafka/templates/deployment.yaml

Remove the following env variables:

name: KAFKA_LISTENER_SECURITY_PROTOCOL_MAP value: "INTERNAL_PLAINTEXT:PLAINTEXT,EXTERNAL_PLAINTEXT:PLAINTEXT" - name: KAFKA_ADVERTISED_LISTENERS value: "INTERNAL_PLAINTEXT://{{ include "common.servicename" . }}:{{.Values.service.internalPort}}" - name: KAFKA_LISTENERS value: "INTERNAL_PLAINTEXT://0.0.0.0:{{.Values.service.internalPort}}" - name: KAFKA_INTER_BROKER_LISTENER_NAME value: "INTERNAL_PLAINTEXT"

Add the following env variables:

- name: KAFKA_LISTENER_SECURITY_PROTOCOL_MAP value: "INTERNAL_SASL_PLAINTEXT:SASL_PLAINTEXT,EXTERNAL_SASL_PLAINTEXT:SASL_PLAINTEXT" - name: KAFKA_ADVERTISED_LISTENERS value: "INTERNAL_SASL_PLAINTEXT://message-router-kafka:9092" - name: KAFKA_LISTENERS value: "INTERNAL_SASL_PLAINTEXT://0.0.0.0:{{.Values.service.internalPort}}" - name: KAFKA_INTER_BROKER_LISTENER_NAME value: "INTERNAL_SASL_PLAINTEXT" - name: KAFKA_SASL_ENABLED_MECHANISMS value: "PLAIN" - name: KAFKA_SASL_MECHANISM_INTER_BROKER_PROTOCOL value: "PLAIN" - name: KAFKA_AUTHORIZER_CLASS_NAME value: "org.onap.dmaap.kafkaAuthorize.KafkaCustomAuthorizer" - name: aaf_locate_url value: https://aaf-onap-test.osaaf.org:8095 - name: KAFKA_ZOOKEEPER_CONNECT value: "{{.Values.zookeeper.name}}:{{.Values.zookeeper.port}}"



{{.Values.service.internalPort}}"

  • No labels