Re: EXTERNAL: Re: Marshaling polymorphic objects

2018-08-08 Thread Sijie Guo
No. I meant to use Pulsar schema. However you don't need to use the avro dependencies introduced by pulsar since those dependencies are shaded. You can include both pulsar-client and avro dependency in your application, then you will use the version of Avro you include. I've put up an example on

Pulsar Blog

2018-08-08 Thread Sijie Guo
FYI. Now we have a blog entry in apache website: https://pulsar.incubator.apache.org/blog/ for latests updates of Apache Pulsar. This is the RSS feed : https://pulsar.incubator.apache.org/blog/feed.xml - Sijie

Re: Pulsar Blog

2018-08-08 Thread Dave Fisher
Thank you this is excellent information. Only update I would make is to encourage people to ask questions on either of these mailing lists! Looking forward to Apachecon in Montreal! Regards, Dave Sent from my iPhone > On Aug 8, 2018, at 3:59 PM, Sijie Guo wrote: > > FYI. > > Now we

Marshaling polymorphic objects

2018-08-08 Thread Schaffert, Lowell
I need to be able to encode and decode a polymorphic enum of which there are 5 concrete implementations. My issue is that: AvroSchema class does not allow access to the org.apache.avro.Schema schema which is necessary to create unions. JSONSchema class does not allow access to

Re: EXTERNAL: Re: Marshaling polymorphic objects

2018-08-08 Thread Schaffert, Lowell
Are you saying that I should just not use org.apache.pulsar.client.api.Schema and just encode/decode the object myself and pass it as a string to Pulsar thus bypassing the Pulsar schema registry? Lowell From: Sijie Guo Sent: Wednesday, August 8, 2018