confluentinc / confluentinc/examples

ERROR: Could not validate credentials to Confluent Cloud Schema Registry. Please troubleshoot

Open
#1,102 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.1k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm getting the above error when trying to run the spring boot example.

I believe I have the Schema Registry set up and I've generated a schema registry key.

Here's my java.config:

`bootstrap.servers=pkc-l6wr6.europe-west2.gcp.confluent.cloud:9092
security.protocol=SASL_SSL
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username='[REMOVED KEY]' password='[REMOVED VALUE]';
sasl.mechanism=PLAIN

client.dns.lookup=use_all_dns_ips

session.timeout.ms=45000

acks=all

schema.registry.url=https://psrc-kk5gg.europe-west3.gcp.confluent.cloud
basic.auth.credentials.source=USER_INFO
schema.registry.basic.auth.user.info=[REMOVED KEY]:[REMOVED VALUE]`

I guess I've missed something?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.