Skip to content
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

Log spam "Error retrieving Avro schema" #2936

Open
ollio opened this issue Jan 19, 2024 · 0 comments
Open

Log spam "Error retrieving Avro schema" #2936

ollio opened this issue Jan 19, 2024 · 0 comments

Comments

@ollio
Copy link

ollio commented Jan 19, 2024

We had an error in the schema and a client was not able to read the schema from the registry. In this case in the AbstractKafkaAvroSerializer in line 141 has catched the exception and created an errormessage. Then in line 176 the whole schema is added to the error message.

throw toKafkaException(e, restClientErrorMsg + schema);

This was written as one message in the logs, but we cut messages with more than 16k chars. In json format this message got an invalid format and was not recognized from Kibana. After thousands of repeats the space in disk was running full.

Please reduce the amount of logdata. The ID and the name of the schema would be sufficient in this case.

Thanks Olli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant