-
-
Notifications
You must be signed in to change notification settings - Fork 675
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deser primitive avro #700
Comments
Can you provide the full stacktrace (if you have one) on the server logs ? |
if I set image: tchiotludo/akhq:0.16.0 There is no more the WARN in the UI of booth web browsers, (but still the bug with google chrome on the print of the key) So only since this 92d4ee8 commit the warning is visible in the UI |
We need to manage the primitive cases that do not return a GenericRecord ->
this work , but it's not elegant and not full coverage of all primitives listed there -> https://stackoverflow.com/a/34234039 Object toType = kafkaAvroDeserializer.deserialize(topic, payload);
if (!(toType instanceof GenericRecord)){
return String.valueOf(toType);
}
GenericRecord record = (GenericRecord) toType; |
with a primitive string avro schema for key
how to reproduce :
create a topic test_topic
produce a key schema for this topic with the schema-registry :
produce an event in the topic with the key schema ( message value can be null )
there is a warning for message using the avro primitive schema ->
The text was updated successfully, but these errors were encountered: