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/04/13 20:09:14 UTC

[GitHub] [pulsar] Nainwake edited a comment on issue #6213: [Client] JSONSchema not able to encode message in case class (scala)

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:
users@infra.apache.org


With regards,
Apache Git Services