Apache Pulsar
Learn how to configure Apache Pulsar for use with Filebase.
Last updated
Was this helpful?
Learn how to configure Apache Pulsar for use with Filebase.
Last updated
Was this helpful?
Apache Pulsar is a high-performance, multi-tenant solution for server-to-server messaging. Pulsar is highly scalable and uses a simple client API that integrates with Java, Go, Python, and C++. Pulsar’s tiered storage feature offloads data to long term storage such as S3-compatible
Read below to learn how to use Apache Pulsar with Filebase.
./conf/standalone.conf
and enter the following lines:Replace the following value to match your configuration:
FILEBASE_BUCKET_NAME: Filebase Bucket Name
./conf/pulsar_env.sh
file:export AWS_ACCESS_KEY_ID=FILEBASE_ACCESS_KEY
export AWS_SECRET_ACCESS_KEY=FILEBASE_SECRET_KEY
./bin/pulsar standalone -a 127.0.0.1
./bin/pulsar-admin namespaces set-retention public/default --size -10G --time 3d
./bin/pulsar-perf produce -r 1000 -s 2048 test-topic
./bin/pulsar-admin topics stats-internal test-topic
./bin/pulsar-admin topics offload --size-threshold 10M public/default/test-topic
./bin/pulsar-admin topics offload-status -w public/default/test-topic