You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by Enrico Olivelli <eo...@gmail.com> on 2019/01/13 16:41:27 UTC
Zookeeper java client - a first step
Hi guys,
We tried to separate java client from zookeeper-server package but
currently it is not possible without breaking changes.
I think we can still start providing a simple zookeeper java client just by
creating a dummy zookeeper-client module as a Maven 'bom' (bills of
material)
It will be a simple pom which adds the dependency to zookeeper-server jar
but it 'excludes' all third party dependencies not needed for running the
client.
I see these advantages :
1) applications will start to depend on something called 'client ', which
is more user friendly
2) clients won't import unused dependecies, this is actually a nuisance
for downstream application
3) it will be easier to change dependencies in the future (at least for
the server)
Regards
Enrico
--
-- Enrico Olivelli
Re: Zookeeper java client - a first step
Posted by Enrico Olivelli <eo...@gmail.com>.
I will pick up the issue
Cheers
Enrico
Il lun 14 gen 2019, 03:22 Michael Han <ha...@apache.org> ha scritto:
> +1. Good time to revisit
> https://issues.apache.org/jira/browse/ZOOKEEPER-233
>
> On Sun, Jan 13, 2019 at 8:54 AM Enrico Olivelli <eo...@gmail.com>
> wrote:
>
> > Hi guys,
> > We tried to separate java client from zookeeper-server package but
> > currently it is not possible without breaking changes.
> >
> > I think we can still start providing a simple zookeeper java client just
> by
> > creating a dummy zookeeper-client module as a Maven 'bom' (bills of
> > material)
> >
> > It will be a simple pom which adds the dependency to zookeeper-server jar
> > but it 'excludes' all third party dependencies not needed for running the
> > client.
> >
> > I see these advantages :
> > 1) applications will start to depend on something called 'client ', which
> > is more user friendly
> > 2) clients won't import unused dependecies, this is actually a nuisance
> > for downstream application
> > 3) it will be easier to change dependencies in the future (at least for
> > the server)
> >
> > Regards
> > Enrico
> > --
> >
> >
> > -- Enrico Olivelli
> >
>
--
-- Enrico Olivelli
Re: Zookeeper java client - a first step
Posted by Michael Han <ha...@apache.org>.
+1. Good time to revisit https://issues.apache.org/jira/browse/ZOOKEEPER-233
On Sun, Jan 13, 2019 at 8:54 AM Enrico Olivelli <eo...@gmail.com> wrote:
> Hi guys,
> We tried to separate java client from zookeeper-server package but
> currently it is not possible without breaking changes.
>
> I think we can still start providing a simple zookeeper java client just by
> creating a dummy zookeeper-client module as a Maven 'bom' (bills of
> material)
>
> It will be a simple pom which adds the dependency to zookeeper-server jar
> but it 'excludes' all third party dependencies not needed for running the
> client.
>
> I see these advantages :
> 1) applications will start to depend on something called 'client ', which
> is more user friendly
> 2) clients won't import unused dependecies, this is actually a nuisance
> for downstream application
> 3) it will be easier to change dependencies in the future (at least for
> the server)
>
> Regards
> Enrico
> --
>
>
> -- Enrico Olivelli
>