confluentinc / schema-registry

Confluent Schema Registry for Kafka
https://docs.confluent.io/current/schema-registry/docs/index.html
Other
2.21k stars 1.11k forks source link

Kafka Schema Registry with multi kafka cluster error #2767

Open mingmingshiliyu opened 1 year ago

mingmingshiliyu commented 1 year ago

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 commented 1 year ago

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

OneCricketeer commented 1 year ago

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