[
https://issues.apache.org/jira/browse/TWILL-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14198150#comment-14198150
]
Steve Loughran commented on TWILL-107:
--------------------------------------
It'd be convenient if you used the same format as the YARN registry, as it'd
make running in there trivial. See YARN-2678 for the latest (final) record
structure.
There's a couple of consequences of arbitrary byte arrays
# they don't let other apps examine or act on them.
# it's dangerously easy to keep putting more and more stuff in there, until
your ZK cluster gets overloaded. The default 1MB/znode limit is designed to
restrict this, and with a low rate of change should be manageable —until you
get to a large cluster with many apps
> Support payloads for Discoverables
> ----------------------------------
>
> Key: TWILL-107
> URL: https://issues.apache.org/jira/browse/TWILL-107
> Project: Apache Twill
> Issue Type: Improvement
> Components: discovery
> Reporter: Parth Gandhi
> Fix For: 0.5.0-incubating
>
>
> Discoverables store only a name and an InetSocketAddress. It would help
> extensibility to allow an arbitrary payload of bytes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)