volfco edited a comment on issue #5274: geo replicated subscribers
URL: https://github.com/apache/pulsar/issues/5274#issuecomment-547643141
 
 
   @merlimat Sure.
   
   Prometheus Metrics:
   ```# TYPE pulsar_replicated_subscriptions_pending_snapshots gauge
   pulsar_replicated_subscriptions_pending_snapshots{cluster="iad"} 0.0
   # TYPE pulsar_replicated_subscriptions_snapshot_ms summary
   pulsar_replicated_subscriptions_snapshot_ms_count{cluster="iad"} 964.0
   pulsar_replicated_subscriptions_snapshot_ms_sum{cluster="iad"} 54404.0
   ```
   
   
![image](https://user-images.githubusercontent.com/433045/67811484-223e0000-fa5a-11e9-88ea-10690045c793.png)
   
   IAD on the left, AUS on the right. I waited 30 seconds between stopping IAD 
and starting AUS.
   
   I assume I configured log4j2.yaml wrong, as I go only the following message:
   ```16:35:44.433 [pulsar-load-manager-4-1] INFO  
org.apache.pulsar.broker.loadbalance.impl.ModularLoadManagerImpl - Only 1 
broker available: no load shedding will be performed
   16:35:44.555 [pulsar-inactivity-monitor-24-1] INFO  
org.apache.pulsar.broker.service.AbstractReplicator - 
[persistent://public/default/my-topic][iad -> aus] Disconnect replicator at 
position 19:583 with backlog 0
   16:35:44.597 [pulsar-io-22-1] INFO  
org.apache.pulsar.client.impl.ProducerImpl - 
[persistent://public/default/my-topic] [pulsar.repl.iad] Closed Producer
   ```
   
   log4j2.yaml config:
   ```
   Configuration:
     Loggers:
       Logger:
         - name: 
org.apache.pulsar.broker.service.persistent.{ReplicatedSubscriptionsController,ReplicatedSubscriptionSnapshotCache,ReplicatedSubscriptionsSnapshotBuilder}
           level: debug
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to