schema-registry icon indicating copy to clipboard operation
schema-registry copied to clipboard

Kafka Schema Registry with multi kafka cluster error

Open mingmingshiliyu opened this issue 1 year ago • 2 comments

I want to use one Kafka Schema Registry with multiple kafka clusters, and then ,I added

- name: SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL
              value: >-
                kafka-0.kafka.d:9093,192.168.0.38:9091
            - name: SCHEMA_REGISTRY_KAFKASTORE_SASL_MECHANISM
              value: SCRAM-SHA-256
            - name: SCHEMA_REGISTRY_KAFKASTORE_SASL_JAAS_CONFIG
              value: >-
                kafka-0.kafka.d:9093=org.apache.kafka.common.security.scram.ScramLoginModule
                required username="admin" password="admin-secret";192.168.0.38:9091=org.apache.kafka.common.security.scram.ScramLoginModule
                required username="admin" password="admin-secret111"

but registry just can't parse it correct.Could you plz help me with it.or give me some best practices

mingmingshiliyu avatar Sep 19 '23 06:09 mingmingshiliyu

I want to store Kafka Schema Registry`s schema data into multiple kafka instances in order to keep high-available, so ,how to set up with env params using k8s yaml

mingmingshiliyu avatar Sep 19 '23 09:09 mingmingshiliyu

Please clarify "cannot parse it".

What specific error are you seeing?

The JAAS SASL config cannot have a Kafka address in it; all brokers should use the same set of credentials

OneCricketeer avatar Sep 22 '23 13:09 OneCricketeer