You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "xiaogang-sn (via GitHub)" <gi...@apache.org> on 2023/04/10 02:29:40 UTC

[GitHub] [pulsar] xiaogang-sn opened a new issue, #20051: [Doc] Missing broker.conf entry for GEO replicated subscription

xiaogang-sn opened a new issue, #20051:
URL: https://github.com/apache/pulsar/issues/20051

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### What issue do you find in Pulsar docs?
   
   In the documentation https://pulsar.apache.org/docs/2.11.x/administration-geo/#enable-replicated-subscription it's not mentioned to do anything on broker side. Without it we can not get the subscription replicated with topic status output as below.
   
   ```
   "subscriptions" : {
       "my_subscription" : {
         "msgRateOut" : 0.0,
         "msgThroughputOut" : 0.0,
         "bytesOutCounter" : 3899,
         "msgOutCounter" : 59,
         "msgRateRedeliver" : 0.0,
         "messageAckRate" : 0.0,
         "chunkedMessageRate" : 0,
         "msgBacklog" : 0,
         "backlogSize" : 0,
         "earliestMsgPublishTimeInBacklog" : 0,
         "msgBacklogNoDelayed" : 0,
         "blockedSubscriptionOnUnackedMsgs" : false,
         "msgDelayed" : 0,
         "unackedMessages" : 0,
         "type" : "Exclusive",
         "msgRateExpired" : 0.0,
         "totalMsgExpired" : 0,
         "lastExpireTimestamp" : 0,
         "lastConsumedFlowTimestamp" : 1680852554923,
         "lastConsumedTimestamp" : 0,
         "lastAckedTimestamp" : 0,
         "lastMarkDeleteAdvancedTimestamp" : 1680852612898,
         "consumers" : [ ],
         "isDurable" : true,
         "isReplicated" : false,
         "allowOutOfOrderDelivery" : false,
         "consumersAfterMarkDeletePosition" : { },
         "nonContiguousDeletedMessagesRanges" : 0,
         "nonContiguousDeletedMessagesRangesSerializedSize" : 0,
         "subscriptionProperties" : { },
         "durable" : true,
         "replicated" : false
       }
     },
   ```
   
   ### What is your suggestion?
   
   Add below to the doc for relevant entries in broker.conf along with consumer configuration on https://pulsar.apache.org/docs/2.11.x/administration-geo/#enable-replicated-subscription .
   
   ```
   # Enable tracking of replicated subscriptions state across clusters.
   enableReplicatedSubscriptions=true
   
   # Frequency of snapshots for replicated subscriptions tracking.
   replicatedSubscriptionsSnapshotFrequencyMillis=1000
   
   # Timeout for building a consistent snapshot for tracking replicated subscriptions state.
   replicatedSubscriptionsSnapshotTimeoutSeconds=30
   
   # Max number of snapshot to be cached per subscription.
   replicatedSubscriptionsSnapshotMaxCachedPerSubscription=10
   ```
   
   /cc @hang
   
   ### Any reference?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] Anonymitaet commented on issue #20051: [Doc] Missing broker.conf entry for GEO replicated subscription

Posted by "Anonymitaet (via GitHub)" <gi...@apache.org>.
Anonymitaet commented on issue #20051:
URL: https://github.com/apache/pulsar/issues/20051#issuecomment-1501613311

   Fix in https://github.com/apache/pulsar-site/pull/510


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] Anonymitaet closed issue #20051: [Doc] Missing broker.conf entry for GEO replicated subscription

Posted by "Anonymitaet (via GitHub)" <gi...@apache.org>.
Anonymitaet closed issue #20051: [Doc] Missing broker.conf entry for GEO replicated subscription
URL: https://github.com/apache/pulsar/issues/20051


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org