1. Manage StreamNative Clusters

Geo Replication on StreamNative Cloud

Geo Replication on StreamNative Cloud provides an asynchronous mechanism for replicating data between geographically distributed Pulsar clusters. It typically used for disaster recovery, enabling the replication of persistently stored message data across multiple data centers. For instance, your application is publishing data in one region and you would like to process it for consumption in other regions. With Pulsar's geo-replication mechanism, messages can be produced and consumed in different geo-locations.

Components of Geo Replication

  • Pulsar Instance: a Pulsar instance is a group of Pulsar clusters that functioning together as a unified entity. Multiple Pulsar clusters under the same Pulsar Instance are automated configurated the Geo Replication.
  • Pulsar Cluster: a Pulsar cluster is a messaging environmen which can be distributed across geographical locations and can replicate among themselves using geo-replication.
  • Replication policies: Geo-replication is managed at the namespace level or topic level which means you only need to create and configure a namespace or topic to replicate messages between two or more provisioned clusters that a tenant can access.
  • Replicated subscriptions: Pulsar supports replicated subscriptions, so you can keep the subscription state in sync, within a sub-second timeframe, in the context of a topic that is being asynchronously replicated across multiple geographical regions.

Limitation

  • The first Pulsar cluster under the Instance can’t be deleted before the following created Pulsar clusters.
  • API Key is not supported the cross-cluster authentication if exists TS channel Pulsar cluster under the Instance. Users should use the oauth2 as the cross-cluster authentication.

Getting Started

Create Pulsar Instance and first Pulsar cluster

  1. On the Cloud Console main page, click the Create icon to create a new Pulsar Instance and its first Pulsar cluster Pulsar Instance list
  2. Input the Pulsar Instance name and select the Cloud provider. Pulsar Instance create
  3. Input the Pulsar cluster name and select the locaton. First Pulsar cluster create

Create the second Pulsar cluster under the Pulsar Instance

  1. Get into the Pulsar Instance page and click to create a new Pulsar cluster under the Instance Pulsar Instance page
  2. Input the second Pulsar cluster name Second Pulsar cluster create
  3. After Pulsar Clusters complete the deployment,clusters under the same Pulsar Instance are automated configurated the Geo Replication. New Pulsar Instance page

Grant permissions on Tenant

  1. Get into one Pulsar cluster and click the "Tenants" on the sidebar. Tenant page
  2. Click the "New Tenant" button and select the allowed clusters from the dropdown. Please note that only the slected allowed clusters could be configured the replication clusters could be used for message replicaton on the namespace level or topic level. Tenant replication page

Enable geo-replication at namespace level

  1. Get into the Tenant, and Click the "Namespaces" on the sidebar Namespace page

  2. Click the "New Namespace" button, select the replication clusters from the dropdown. Namespace replication page

Previous
Auto Scaling