You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to set up Glue schema registry with AVRO deserialization and I encountered the following issue in the UI: "Fallback serde was used."
Looking at the logs, I don't see any errors.
However, based on the code, I should at least see:
Error deserializing key for value topic: {}
Here is the relevant code snippet from the repo:
private void fillValue(TopicMessageDTO message, ConsumerRecord<Bytes, Bytes> rec) {
if (rec.value() == null) {
return;
}
try {
var deserResult = valueDeserializer.deserialize(
new RecordHeadersImpl(rec.headers()), rec.value().get());
message.setContent(deserResult.getResult());
message.setValueSerde(valueSerdeName);
message.setValueDeserializeProperties(deserResult.getAdditionalProperties());
} catch (Exception e) {
log.trace("Error deserializing key for value topic: {}, partition {}, offset {}, with serde {}",
rec.topic(), rec.partition(), rec.offset(), valueSerdeName, e);
var deserResult = fallbackValueDeserializer.deserialize(
new RecordHeadersImpl(rec.headers()), rec.value().get());
message.setContent(deserResult.getResult());
message.setValueSerde(fallbackSerdeName);
}
}
I checked CloudTrail and found a successful API call to the correct schema registry and schema name. However, I only see a GetSchema call that contains schema metadata but not the actual schema definition. I was also expecting to see a GetSchemaVersion API call.
Any suggestions on how I should troubleshoot this issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to set up Glue schema registry with AVRO deserialization and I encountered the following issue in the UI: "Fallback serde was used."
![image](https://private-user-images.githubusercontent.com/9782834/338582289-2cfce23a-37fc-47b5-a94e-4e505fa295dd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ0MTU0MTQsIm5iZiI6MTcyNDQxNTExNCwicGF0aCI6Ii85NzgyODM0LzMzODU4MjI4OS0yY2ZjZTIzYS0zN2ZjLTQ3YjUtYTk0ZS00ZTUwNWZhMjk1ZGQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyMyUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjNUMTIxMTU0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTIyMTM3ZGM4MzlmMDFjYzA2MWQzYTEwNTNhYjE0NjIxYTFmYzY2NTFjMjJhNjllOTljZGNkZGUzOWIwMDFmNiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.vuiW6JbOkOCJrkMyjAQ9am2jir5cazurn7WyXv580vc)
Looking at the logs, I don't see any errors.
However, based on the code, I should at least see:
Error deserializing key for value topic: {}
Here is the relevant code snippet from the repo:
I checked CloudTrail and found a successful API call to the correct schema registry and schema name. However, I only see a GetSchema call that contains schema metadata but not the actual schema definition. I was also expecting to see a GetSchemaVersion API call.
Any suggestions on how I should troubleshoot this issue?
Beta Was this translation helpful? Give feedback.
All reactions