java.net.InetSocketAddress is Serializable [1] and implementations of
java.util.List (e.g. java.util.ArrayList [2]) are also usually Serializable.

Unfortunately, for some reason InetSocketTransportAddress [3] is no longer
Serializable in Elasticsearch 2.x. :(

-Zach

[1] http://docs.oracle.com/javase/8/docs/api/java/net/InetSocketAddress.html
[2] http://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html
[3]
http://javadoc.kyubu.de/elasticsearch/HEAD/org/elasticsearch/common/transport/InetSocketTransportAddress.html



On Fri, Mar 4, 2016 at 8:39 AM HungChang <unicorn.bana...@gmail.com> wrote:

> Can I ask why List<InetSocketAddress> can become serilizable?
>
> Best,
>
> Sendoh
>
>
>
> --
> View this message in context:
> http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/InetSocketAddress-is-not-serializable-when-building-ElasticSearch2-connector-tp5296p5299.html
> Sent from the Apache Flink User Mailing List archive. mailing list archive
> at Nabble.com.
>

Reply via email to