onobc opened a new pull request, #137:
URL: https://github.com/apache/pulsar-client-reactive/pull/137

   The key used to cache producers includes the producer schema. 
   This works well for primitive schema types and for complex schema types when 
the schema is the exact same instance. However, the schema contract does not 
enforce equals/hashCode. 
   This results in cases where 2 producers using the same type of schema are 
not matching in the cache (eg. Schema.JSON(<some-class>)). 
   
   This commit fixes this by using the schema hash for matching rather than the 
schema itself.


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