Re: Non-serializable builders

2018-06-20 Thread Sijie Guo
Hi Geoffroy, I put up a PR https://github.com/apache/incubator-pulsar/pull/2004 for addressing the issue. If you can take a look and see if that approach addresses your problem. - Sijie On Fri, Jun 8, 2018 at 8:32 AM Sijie Guo wrote: > Hi Geoffroy, > > I created an issue for > https://github.c

Re: Non-serializable builders

2018-06-08 Thread Sijie Guo
Hi Geoffroy, I created an issue for https://github.com/apache/incubator-pulsar/issues/1943. We will address it for the upcoming 2.1 release. - Sijie On Fri, Jun 8, 2018 at 6:39 AM Geoffroy Fouquier < geoffroy.fouqu...@exensa.com> wrote: > On 08/06/2018 12:01, Sijie Guo wrote: > > Geoffroy, > >

Re: Non-serializable builders

2018-06-08 Thread Geoffroy Fouquier
On 08/06/2018 12:01, Sijie Guo wrote: Geoffroy, Thank you for reporting this. The change was made to evolve pulsar into a type-safe client with schema and more validations. Along with the idea, we changed the client to become a more fluent style builder and hide the configuration data as an impl

Re: Non-serializable builders

2018-06-08 Thread Sijie Guo
Geoffroy, Thank you for reporting this. The change was made to evolve pulsar into a type-safe client with schema and more validations. Along with the idea, we changed the client to become a more fluent style builder and hide the configuration data as an implementation detail to the pulsar client i

Non-serializable builders

2018-06-08 Thread Geoffroy Fouquier
We are using pulsar 1.22 within a spark framework and I am currently upgrading my cluster to pulsar 2.0. One of the main change concerns the configuration classes, replace by builders. Although ProducerBuilder and ConsumerBuilder interfaces implement Serializable, corresponding implementatio