i work with spring cloud stream kafka , i have an issue with with json schema registry
I use the version 7.1.4 of confluent dependency , i use topic name strategy so when i save the schema by this pattern topicname-value when i check the schema by the api of confluent i founded I start troubleshooting the problem at first i used auto.register.schemas = true to delegate to spring boot for constructing the schema in this case everything works fine i can produce the message to the topic and consume it but when i restart my application i had this problem
org.springframework.messaging.MessageHandlingException: error occurred in message handler [org.springframework.cloud.stream.binder.kafka.KafkaMessageChannelBinder$ProducerConfigurationMessageHandler@65ffd83e]; nested exception is org.apache.kafka.common.errors.SerializationException: Error retrieving JSON schema: {“$schema”:“http://json-schema.org/draft-07/schema#”
Ps: the schema used is too long
What might the problem be?