Question
Ministry of Education Saudi Arabia
SA
Last activity: 31 May 2022 5:20 EDT
Pega 8.7.1 ERROR - The setting alerts/streamUnderReplicatedPartitions is not present in PrConfigSettingsRegistry
Recently installed Pega 8.7.1 in Tomcat application servers with Windows, DB is SqlServer .
Application is running slow and as part of our observations we found lot of below Error entries in PegaRULES.log.
ERROR - The setting alerts/streamUnderReplicatedPartitions is not present in PrConfigSettingsRegistry. API is depreciated. Please use new API to get the setting information.
Where we can find PrConfigSettingsRegistry ? how to solve this issue?
Logs:
2022-05-30 12:58:33,414 [ver.Default-Pulse:12] [ STANDARD] [ ] [ ] ( basic.config.SettingsImpl) ERROR - The setting alerts/streamUnderReplicatedPartitions is not present in PrConfigSettingsRegistry. API is depreciated. Please use new API to get the setting information.
java.lang.Exception: Information : Setting does not exist in PrConfigSetting enum.
at com.pega.pegarules.exec.internal.basic.config.SettingsImpl.logMessageForDepreciatedAPI(SettingsImpl.java:803) ~[prprivate-exec.jar:?]
at com.pega.pegarules.exec.internal.basic.config.SettingsImpl.getAsInt(SettingsImpl.java:418) ~[prprivate-exec.jar:?]
at com.pega.decision.dsm.util.AlertUtils$KeyPerformanceIndicator$1.get(AlertUtils.java:347) ~[prpublic.jar:?]
Recently installed Pega 8.7.1 in Tomcat application servers with Windows, DB is SqlServer .
Application is running slow and as part of our observations we found lot of below Error entries in PegaRULES.log.
ERROR - The setting alerts/streamUnderReplicatedPartitions is not present in PrConfigSettingsRegistry. API is depreciated. Please use new API to get the setting information.
Where we can find PrConfigSettingsRegistry ? how to solve this issue?
Logs:
2022-05-30 12:58:33,414 [ver.Default-Pulse:12] [ STANDARD] [ ] [ ] ( basic.config.SettingsImpl) ERROR - The setting alerts/streamUnderReplicatedPartitions is not present in PrConfigSettingsRegistry. API is depreciated. Please use new API to get the setting information.
java.lang.Exception: Information : Setting does not exist in PrConfigSetting enum.
at com.pega.pegarules.exec.internal.basic.config.SettingsImpl.logMessageForDepreciatedAPI(SettingsImpl.java:803) ~[prprivate-exec.jar:?]
at com.pega.pegarules.exec.internal.basic.config.SettingsImpl.getAsInt(SettingsImpl.java:418) ~[prprivate-exec.jar:?]
at com.pega.decision.dsm.util.AlertUtils$KeyPerformanceIndicator$1.get(AlertUtils.java:347) ~[prpublic.jar:?]
at com.pega.decision.dsm.util.AlertUtils$KeyPerformanceIndicator$1.get(AlertUtils.java:344) ~[prpublic.jar:?]
at com.google.common.base.Suppliers$ExpiringMemoizingSupplier.get(Suppliers.java:199) ~[guava-19.0.jar:?]
at com.pega.decision.dsm.util.AlertUtils$KeyPerformanceIndicator.getThreshold(AlertUtils.java:363) ~[prpublic.jar:?]
at com.pega.decision.dsm.util.AlertUtils.alertInternal(AlertUtils.java:90) ~[prpublic.jar:?]
at com.pega.decision.dsm.util.AlertUtils.alert(AlertUtils.java:85) ~[prpublic.jar:?]
at com.pega.decision.dsm.util.AlertUtils.alert(AlertUtils.java:69) ~[prpublic.jar:?]
at com.pega.dsm.dnode.api.server.StreamAlertService$UnderReplicatedPartitionLogger.alertForURP(StreamAlertService.java:167) ~[d-node.jar:?]
at com.pega.dsm.dnode.api.server.StreamAlertService$UnderReplicatedPartitionLogger.alertIfNeeded(StreamAlertService.java:134) ~[d-node.jar:?]
at com.pega.dsm.dnode.api.server.StreamAlertService.alertForOfflineAndUnderReplicatedPartitions(StreamAlertService.java:68) ~[d-node.jar:?]
at com.pega.dsm.dnode.api.server.StreamServerService$StreamServicePulseOperation$1.emit(StreamServerService.java:963) ~[d-node.jar:?]
at com.pega.dsm.dnode.impl.stream.DataObservableImpl$SafeDataSubscriber.subscribe(DataObservableImpl.java:353) ~[d-node.jar:?]
at com.pega.dsm.dnode.impl.stream.DataObservableImpl.subscribe(DataObservableImpl.java:55) ~[d-node.jar:?]
at com.pega.dsm.dnode.impl.stream.DataObservableImpl.await(DataObservableImpl.java:117) ~[d-node.jar:?]
at com.pega.dsm.dnode.impl.stream.DataObservableImpl.await(DataObservableImpl.java:106) ~[d-node.jar:?]
at com.pega.dsm.dnode.impl.prpc.service.health.ServiceHealthCheckRegistration$1.run(ServiceHealthCheckRegistration.java:122) ~[d-node.jar:?]
at com.pega.dsm.dnode.impl.prpc.service.health.ServiceHealthCheckRegistration$1.run(ServiceHealthCheckRegistration.java:113) ~[d-node.jar:?]
at com.pega.dsm.dnode.util.PrpcRunnable.execute(PrpcRunnable.java:67) ~[d-node.jar:?]
at com.pega.dsm.dnode.impl.prpc.service.ServiceHelper.executeInPrpcContextInternal(ServiceHelper.java:305) ~[d-node.jar:?]
at com.pega.dsm.dnode.impl.prpc.service.ServiceHelper.executeInPrpcContext(ServiceHelper.java:150) ~[d-node.jar:?]
at com.pega.dsm.dnode.impl.prpc.service.health.ServiceHealthCheckRegistration.lambda$registerPulseExecutor$0(ServiceHealthCheckRegistration.java:113) ~[d-node.jar:?]
at com.google.common.util.concurrent.MoreExecutors$ScheduledListeningDecorator$NeverSuccessfulListenableFutureTask.run(MoreExecutors.java:656) ~[guava-19.0.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
at com.pega.dsm.dnode.util.PrpcRunnable$1.run(PrpcRunnable.java:59) ~[d-node.jar:?]
at com.pega.dsm.dnode.util.PrpcRunnable$1.run(PrpcRunnable.java:56) ~[d-node.jar:?]
at com.pega.dsm.dnode.util.PrpcRunnable.execute(PrpcRunnable.java:67) ~[d-node.jar:?]
at com.pega.dsm.dnode.impl.prpc.PrpcThreadFactory$PrpcThread.run(PrpcThreadFactory.java:124) ~[d-node.jar:?]
***Edited by Moderator Marije to add Support Case Details; update capability tags***