streamnative / function-mesh

The serverless framework purpose-built for event streaming applications.
https://functionmesh.io/
Apache License 2.0
210 stars 27 forks source link

replace pulsar-admin to pulsarctl to reduce cold start time #629

Closed jiangpengcheng closed 1 year ago

jiangpengcheng commented 1 year ago

pulsar-admin will take dozens of seconds to download a package since it needs to start a JVM, so it's better to use pulsarctl instead

nlu90 commented 1 year ago

Also, the puslar-admin has a implicit setting PULSAR_MEM which controls how many memory is can use. It's error-prone and in some cases caused download failure.

jiangpengcheng commented 1 year ago

closed with this: https://github.com/streamnative/function-mesh/pull/682

we will update the Default[Java|Python|Go]RunnerImage to use pulsarctl runner images in next releases