Apache Pulsar
Learn how to configure Apache Pulsar for use with Filebase.
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.
managedLedgerOffloadDriver=aws-s3
s3ManagedLedgerOffloadBucket=FILEBASE_BUCKET_NAME
s3ManagedLedgerOffloadRegion=us-east-1
s3ManagedLedgerOffloadServiceEndpoint=https://s3.filebase.com
Replace the following value to match your configuration:
- FILEBASE_BUCKET_NAME: Filebase Bucket Name
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
If you have any questions, please join our Discord server, or send us an email at [email protected]
Last modified 1yr ago