This is an automated email from the ASF dual-hosted git repository.
mattisonchao pushed a commit to branch branch-2.9
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-2.9 by this push:
new 9ad8f0057fe [fix][broker-common] expose configurationMetadataStore and
localMetadataStore (#15661)
9ad8f0057fe is described below
commit 9ad8f0057feead8499eb780dfbcb544cbc86c069
Author: Zixuan Liu <[email protected]>
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 a33d446ed82..a01d57817ee 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
@@ -50,8 +50,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) {