tips:pulsar

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:pulsar [2019/09/23 14:52] scipiotips:pulsar [2019/09/23 15:44] (current) – [storage s3] scipio
Line 23: Line 23:
 managedLedgerOffloadDriver=S3 managedLedgerOffloadDriver=S3
 s3ManagedLedgerOffloadBucket=pulsar-topic-offload s3ManagedLedgerOffloadBucket=pulsar-topic-offload
 +s3ManagedLedgerOffloadRegion=
 s3ManagedLedgerOffloadServiceEndpoint=http://127.0.0.1:9000 s3ManagedLedgerOffloadServiceEndpoint=http://127.0.0.1:9000
 ... ...
Line 40: Line 41:
 </code> </code>
  
 +define a storage threshold in "public" tenant, default name space
 +<code>
 +bin/pulsar-admin namespaces set-offload-threshold  --size 0 public/default
 +</code>
 +
 +
 +===== test =====
 +
 +first shell
 +<code>
 +bin/pulsar-client consume my-topic -s "first-subscription"
 +</code>
 +
 +second shell
 +<code>
 +bin/pulsar-client produce my-topic --messages "hello-pulsar" -n 1000
 +</code>
  
  • tips/pulsar.1569243175.txt.gz
  • Last modified: 2019/09/23 14:52
  • by scipio