Yes, there are a bunch of dependencies that are only needed for state
store, such as the bk state store client and everything it's pulling
in, with the biggest offender being GRPC client lib.


--
Matteo Merli
<[email protected]>

On Mon, Feb 22, 2021 at 11:59 AM Sanjeev Kulkarni
<[email protected]> wrote:
>
> IIUC, its because of the various state store related dependencies that are
> polluting this?
>
> On Mon, Feb 22, 2021 at 10:48 AM Jerry Peng <[email protected]>
> wrote:
>
> > [ External sender. Exercise caution. ]
> >
> > Hi Sijie,
> >
> > Are you referring to the fact that the Pulsar python package (wheel
> > package) includes both pub/sub API and the function API? I  If so, why are
> > there a lot of dependencies being pulled in?  For Pulsar Python Functions,
> > shouldn't only the following files be pulled into the python package?
> >
> >
> > https://github.com/apache/pulsar/tree/master/pulsar-client-cpp/python/pulsar/functions
> >
> >
> > It is a minimal set of files. Is the problem you are describing stating
> > that users wanting to just run Python Functions having to install a package
> > that also includes the pub/sub API and the Python client? And it would be
> > better for users that just want to run Python Functions to not have to also
> > install the python client?
> >
> > Best,
> >
> > Jerry
> >
> >
> > On Mon, Feb 22, 2021 at 1:19 AM Sijie Guo <[email protected]> wrote:
> >
> >> Hi,
> >>
> >> Currently, the python pulsar client couples function API together with
> >> Pub/Sub API. That means the python client pulls in a lot of unnecessary
> >> dependencies for people who only use pub/sub API.
> >>
> >> As discussed in the community meeting last week, I am starting an email
> >> thread for discussing it. I would like to learn what @Sanjeev Kulkarni
> >> <[email protected]> and @Jerry Peng <[email protected]> think about it.
> >>
> >> - Sijie
> >>
> >

Reply via email to