zhuangchong commented on PR #4024:
URL: https://github.com/apache/paimon/pull/4024#issuecomment-2301538649

   > Why this fix works?
   
   Sorry, I can't answer this question well.
   
   I know this is a problem related to class loading. Since the DataFormat 
enumeration will load all enumeration instances during initialization, the JVM 
will try to load the KafkaDebeziumJsonDeserializationSchema class.
   
   The implementation class CachedSchemaRegistryClient of 
io.confluent.kafka.schemaregistry.client.SchemaRegistryClient is introduced in 
the KafkaDebeziumJsonDeserializationSchema class.
   
   The exception stack is as follows:
   
![image](https://github.com/user-attachments/assets/c70dc278-a7f6-4e9b-8997-eb602da75e87)
   
   
   When I put the CachedSchemaRegistryClient in the 
KafkaDebeziumJsonDeserializationSchema class into the 
ConfluentAvroDeserializationSchema tool class, there was no exception in the 
local test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to