You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2022/06/07 05:04:35 UTC

[pulsar] 05/17: [fix][broker-common] expose configurationMetadataStore and localMetadataStore (#15661)

This is an automated email from the ASF dual-hosted git repository.

penghui pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit 1bcb7fbe3607092ad5e41891c54abc2b61389937
Author: Zixuan Liu <no...@gmail.com>
AuthorDate: Mon May 23 09:51:27 2022 +0800

    [fix][broker-common] expose configurationMetadataStore and localMetadataStore (#15661)
    
    (cherry picked from commit e7dff4b5136f55b62ea1fa79073c8b5236564a33)
---
 .../main/java/org/apache/pulsar/broker/resources/PulsarResources.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/resources/PulsarResources.java b/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/resources/PulsarResources.java
index e206d5ad542..a087d8090d3 100644
--- a/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/resources/PulsarResources.java
+++ b/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/resources/PulsarResources.java
@@ -47,8 +47,9 @@ public class PulsarResources {
     private final BookieResources bookieResources;
     @Getter
     private final TopicResources topicResources;
-
+    @Getter
     private final Optional<MetadataStore> localMetadataStore;
+    @Getter
     private final Optional<MetadataStore> configurationMetadataStore;
 
     public PulsarResources(MetadataStore localMetadataStore, MetadataStore configurationMetadataStore) {