You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Michael Fong <mc...@gmail.com> on 2018/10/03 07:24:30 UTC
Does Ignite support GPB serialized data
Hi, all
We have protocol buffer serialized binary data that would like to stored
into ignite, and wonder if Ignite supports gpb serialization out of the
box?
If not, which serialization interface do we need to implement to customize
and override in the xml?
Thanks in advance
Re: Does Ignite support GPB serialized data
Posted by Michael Fong <mc...@gmail.com>.
Very clear answer. Thank you.
On Mon, Oct 8, 2018 at 4:18 PM Ilya Kasnacheev <il...@gmail.com>
wrote:
> Hello!
>
> Ignite does not have special support for protocol buffers.
>
> You are welcome to implement Binarylizable or Externalizable interfaces on
> your objects to specify serialization for them.
>
> You can also specify BinarySerializer for types that you do not control by
> putting them into BinaryConfiguration.setTypeConfigurations() and using
> that one with IgniteConfiguration:
>
> https://apacheignite.readme.io/docs/binary-marshaller#section-configuring-binary-objects
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> ср, 3 окт. 2018 г. в 18:24, Michael Fong <mc...@gmail.com>:
>
>> Hi, all
>>
>> We have protocol buffer serialized binary data that would like to stored
>> into ignite, and wonder if Ignite supports gpb serialization out of the
>> box?
>>
>> If not, which serialization interface do we need to implement to
>> customize and override in the xml?
>>
>> Thanks in advance
>>
>
Re: Does Ignite support GPB serialized data
Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!
Ignite does not have special support for protocol buffers.
You are welcome to implement Binarylizable or Externalizable interfaces on
your objects to specify serialization for them.
You can also specify BinarySerializer for types that you do not control by
putting them into BinaryConfiguration.setTypeConfigurations() and using
that one with IgniteConfiguration:
https://apacheignite.readme.io/docs/binary-marshaller#section-configuring-binary-objects
Regards,
--
Ilya Kasnacheev
ср, 3 окт. 2018 г. в 18:24, Michael Fong <mc...@gmail.com>:
> Hi, all
>
> We have protocol buffer serialized binary data that would like to stored
> into ignite, and wonder if Ignite supports gpb serialization out of the
> box?
>
> If not, which serialization interface do we need to implement to customize
> and override in the xml?
>
> Thanks in advance
>