You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/02/18 01:30:00 UTC

[GitHub] [pulsar] ta1meng commented on issue #8510: AVRO Schema with modified whitespaces uploaded via API is incompatible with Schema generated from Record (IncompatibleSchema)

ta1meng commented on issue #8510:
URL: https://github.com/apache/pulsar/issues/8510#issuecomment-780971707


   Thank you @michaelkux for this detailed ticket! I ran into the exact same issue and I use the Java client. The error message was misleading. Thank you so much for pointing out that it was a whitespace problem!! I removed the trailing whitespace from the schema file and it solved the problem.
   
   Pulsar could log a better message than `Schema not found and schema auto updating is disabled`, because the schema was found, but it would be better if whitespace differences are ignored during schema comparisons.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org