You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by nk...@apache.org on 2020/07/22 01:46:27 UTC
[pulsar-manager] branch master updated: Remove unused fields in
BrokerStatsServiceImpl (#317)
This is an automated email from the ASF dual-hosted git repository.
nkurihar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-manager.git
The following commit(s) were added to refs/heads/master by this push:
new f4ce098 Remove unused fields in BrokerStatsServiceImpl (#317)
f4ce098 is described below
commit f4ce098f50751b55c99109a1d87782dc3a71f817
Author: Kimura Takesi <35...@users.noreply.github.com>
AuthorDate: Wed Jul 22 10:46:17 2020 +0900
Remove unused fields in BrokerStatsServiceImpl (#317)
Co-authored-by: Takesi Kimura <ta...@yahoo-corp.jp>
---
.../apache/pulsar/manager/service/impl/BrokerStatsServiceImpl.java | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/main/java/org/apache/pulsar/manager/service/impl/BrokerStatsServiceImpl.java b/src/main/java/org/apache/pulsar/manager/service/impl/BrokerStatsServiceImpl.java
index 8788b1b..cc8c1a9 100644
--- a/src/main/java/org/apache/pulsar/manager/service/impl/BrokerStatsServiceImpl.java
+++ b/src/main/java/org/apache/pulsar/manager/service/impl/BrokerStatsServiceImpl.java
@@ -66,9 +66,6 @@ public class BrokerStatsServiceImpl implements BrokerStatsService {
@Value("${backend.directRequestHost}")
private String directRequestHost;
- @Value("${backend.jwt.token}")
- private String pulsarJwtToken;
-
@Value("${clear.stats.interval}")
private Long clearStatsInterval;
@@ -82,8 +79,6 @@ public class BrokerStatsServiceImpl implements BrokerStatsService {
private final ConsumersStatsRepository consumersStatsRepository;
private final PulsarAdminService pulsarAdminService;
- private static final Map<String, String> header = new HashMap<>();
-
@Autowired
public BrokerStatsServiceImpl(
EnvironmentsRepository environmentsRepository,