I am working on enabling mirror maker within an ONAP deployment. A requirement
for mirror maker is to be able to have a direct connection with the Kafka
broker service so the connection can be distributed to the Kafka replicas. The
current deployment of ONAP sets the
message-router-kafka<https://console.cloud.google.com/kubernetes/service/us-central1-c/gke-cds/onap/message-router-kafka?authuser=4&project=nso-sand-01>
as a headless service. Since mirror maker is deployed outside the cluster that
has the ONAP deployment, I modified the message-router-kafka service to be
NodePort type. I was then able to configure mirror maker to point to the Kafka
cluster. However I then ran into issues with the message-router deployment
within the ONAP cluster.
Message-router throws the following error and goes into a crashLoopBackoff:
org.apache.kafka.common.config.ConfigException: No resolvable bootstrap urls
given in bootstrap.servers
org.apache.kafka.common.KafkaException: Failed to construct kafka producer
Investigating MsdRtrApi.properties within OOM charts yields:
kafka.metadata.broker.list={{include "common.release"
.}}-{{.Values.kafka.name}}-0.{{.Values.kafka.name}}.{{.Release.Namespace}}.svc.cluster.local:{{.Values.kafka.port}},{{include
"common.release"
.}}-{{.Values.kafka.name}}-1.{{.Values.kafka.name}}.{{.Release.Namespace}}.svc.cluster.local:{{.Values.kafka.port}},{{include
"common.release"
.}}-{{.Values.kafka.name}}-2.{{.Values.kafka.name}}.{{.Release.Namespace}}.svc.cluster.local:{{.Values.kafka.port}}
So its shown that message-router passes the service names of the 3 kafka
replicas to the Apache Kafka producer.
My question is the following: How come modifying the message-router-kafka
service to not be headless cause issues with Apache kafka even though the
broker list only contains the service names of the kafka replicas? Also, what
is the reason that message-router-kafka is a headless service?
Thank you.
This email and the information contained herein is proprietary and confidential
and subject to the Amdocs Email Terms of Service, which you may review at
https://www.amdocs.com/about/email-terms-of-service
<https://www.amdocs.com/about/email-terms-of-service>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#22558): https://lists.onap.org/g/onap-discuss/message/22558
Mute This Topic: https://lists.onap.org/mt/78609730/21656
Mute #dmaap:https://lists.onap.org/g/onap-discuss/mutehashtag/dmaap
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-