Nainwake edited a comment on issue #6213: [Client] JSONSchema not able to 
encode message in case class (scala)
URL: https://github.com/apache/pulsar/issues/6213#issuecomment-613073498
 
 
   Hey @yjshen thanks for the reply.
   Indeed it works well for producer and consumer.
   See below a quick and dirty case class to be able to produce/consume without 
troubles : 
   `
   case class CaseMessage(
                           @BeanProperty key: String,
                           @BeanProperty event_time: Long,
                           @BeanProperty value: String
                         )
   {
     def this() = this("", 0, "")
   }
   `

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to