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 2020/10/21 15:14:35 UTC

[GitHub] [pulsar] lhotari commented on issue #6213: [Client] JSONSchema not able to encode message in case class (scala)

lhotari commented on issue #6213:
URL: https://github.com/apache/pulsar/issues/6213#issuecomment-713650417


   #6842 has been implemented since 2.6.0+.
   
   There's a Kotlin code example in https://github.com/apache/pulsar/issues/6528#issuecomment-701410483 about how to use it. I haven't tried it myself, but there's a note that it doesn't work with the shaded client and you should use pulsar-client-original dependency instead of pulsar-client. I guess #6902 is to cover the shading issues. As a workaround you should be able to use the unshaded pulsar-client-original dependency.
   
   I'd assume that registering the Jackson Scala module (https://github.com/FasterXML/jackson-module-scala), DefaultScalaModule can be done in a similar way as KotlinModule is registered in the Kotlin code example.


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