GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pulsar/pip/pip-117.md at master · apache/pulsar

Expand file tree

/

pip-117.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
59 lines (40 loc) · 2.14 KB
/

pip-117.md

Copy path

File metadata and controls

59 lines (40 loc) · 2.14 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

PIP-117: Change Pulsar Standalone defaults

Pulsar standalone is the "Pulsar in a box" version of a Pulsar cluster, where all the components are started within the context of a single JVM process.

Users are using the standalone a as way to get quickly started with Pulsar or in all the cases where it makes sense to have a single node deployment.

Right now, the standalone is starting by default many components, several of which are quite complex, since they are designed to be deployed in a distributed fashion.

Goal

Simplify the components of Pulsar standalone to achieve:

  1. Reduce complexity
  2. Reduce startup time
  3. Reduce memory and CPU footprint of running standalone

Proposed changes

The proposal here is to change some of the default implementations that are used for the Pulsar standalone.

  1. Metadata Store implementation --> Change from ZooKeeper to RocksDB

  2. Pulsar functions package backend --> Change from using DistributedLog to using local filesystem, storing the jars directly in the data folder instead of uploading them into BK.

  3. Pulsar functions state store implementation --> Change the state store to be backed by a MetadataStore based backed, with the RocksDB implementation.

  4. Table Service --> Do not start BK table service by default

Compatibility considerations

In order to avoid compatibility issues where users have existing Pulsar standalone services that they want to upgrade without conflicts, we will follow the principle of keeping the old defaults where there is existing data on the disk.

We will add a file, serving the purpose as a flag, in the data/standalone directory, for example new-2.10-defaults.

If the file is present, or if the data directory is completely missing, we will adopt the new set of default configuration settings.

If the file is not there, we will continue to use existing defaults and we will not break the upgrade operation.

Links

  • Mailing List discussion thread: https://lists.apache.org/thread/vtb7nmlr43s47vlob6lsf1c91k4o48r8
  • Mailing List voting thread: https://lists.apache.org/thread/v434zg2yhn5by633hl6mrn8036btg0kp
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.