Hi
I’m trying to use redis exporter 1.0.0 or 1.0.1 using camunda 8.5 via helm chart
I get this error:
org.springframework.boot.SpringApplication - Application run failed
java.lang.IllegalStateException: Failed to load exporter with configuration: ExporterCfg{, jarPath='/exporters/zeebe-redis-exporter.jar', className='io.zeebe.redis.exporter.RedisExporter', args={debug=true, remoteAddress=redis://redis:6379, format=json, name=zeebe, useClusterClient=false, skipValidation=true}}
at io.camunda.zeebe.broker.Broker.buildExporterRepository(Broker.java:152) ~[zeebe-broker-8.5.14.jar:8.5.14]
at io.camunda.zeebe.broker.Broker.<init>(Broker.java:71) ~[zeebe-broker-8.5.14.jar:8.5.14]
at io.camunda.zeebe.broker.Broker.<init>(Broker.java:49) ~[zeebe-broker-8.5.14.jar:8.5.14]
at io.camunda.zeebe.broker.StandaloneBroker.run(StandaloneBroker.java:104) ~[camunda-zeebe-8.5.14.jar:8.5.14]
at org.springframework.boot.SpringApplication.lambda$callRunner$5(SpringApplication.java:790) ~[spring-boot-3.2.7.jar:3.2.7]
at org.springframework.util.function.ThrowingConsumer$1.acceptWithException(ThrowingConsumer.java:83) ~[spring-core-6.1.14.jar:6.1.14]
at org.springframework.util.function.ThrowingConsumer.accept(ThrowingConsumer.java:60) ~[spring-core-6.1.14.jar:6.1.14]
at org.springframework.util.function.ThrowingConsumer$1.accept(ThrowingConsumer.java:88) ~[spring-core-6.1.14.jar:6.1.14]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:798) ~[spring-boot-3.2.7.jar:3.2.7]
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:789) ~[spring-boot-3.2.7.jar:3.2.7]
at org.springframework.boot.SpringApplication.lambda$callRunners$3(SpringApplication.java:774) [spring-boot-3.2.7.jar:3.2.7]
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) ~[?:?]
at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(Unknown Source) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:?]
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) ~[?:?]
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:?]
at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source) ~[?:?]
at org.springframework.boot.SpringApplication.callRunners(SpringApplication.java:774) [spring-boot-3.2.7.jar:3.2.7]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:342) [spring-boot-3.2.7.jar:3.2.7]
at io.camunda.zeebe.broker.StandaloneBroker.main(StandaloneBroker.java:87) [camunda-zeebe-8.5.14.jar:8.5.14]
Caused by: io.camunda.zeebe.broker.exporter.repo.ExporterLoadException: Cannot load exporter [redis]: failed validation
at io.camunda.zeebe.broker.exporter.repo.ExporterRepository.validate(ExporterRepository.java:102) ~[zeebe-broker-8.5.14.jar:8.5.14]
at io.camunda.zeebe.broker.exporter.repo.ExporterRepository.load(ExporterRepository.java:57) ~[zeebe-broker-8.5.14.jar:8.5.14]
at io.camunda.zeebe.broker.exporter.repo.ExporterRepository.load(ExporterRepository.java:87) ~[zeebe-broker-8.5.14.jar:8.5.14]
at io.camunda.zeebe.broker.Broker.buildExporterRepository(Broker.java:150) ~[zeebe-broker-8.5.14.jar:8.5.14]
... 21 more
Caused by: java.lang.NullPointerException: Cannot invoke "io.zeebe.redis.exporter.UniversalRedisClient.shutdown()" because "this.redisClient" is null
at io.zeebe.redis.exporter.RedisExporter.close(RedisExporter.java:168) ~[?:?]
at io.camunda.zeebe.broker.exporter.repo.ExporterRepository.validate(ExporterRepository.java:99) ~[zeebe-broker-8.5.14.jar:8.5.14]
at io.camunda.zeebe.broker.exporter.repo.ExporterRepository.load(ExporterRepository.java:57) ~[zeebe-broker-8.5.14.jar:8.5.14]
at io.camunda.zeebe.broker.exporter.repo.ExporterRepository.load(ExporterRepository.java:87) ~[zeebe-broker-8.5.14.jar:8.5.14]
at io.camunda.zeebe.broker.Broker.buildExporterRepository(Broker.java:150) ~[zeebe-broker-8.5.14.jar:8.5.14]
... 21 more
Previously we were using redis exporter 0.9.* versions with camunda 8.3 and it worked just fine, but after update to 8.5, it is not working at all. We are trying to use 1.0.0 and 1.0.1 versions of redis exporter.
A clean reinstall was tried too. We have the exact network/permissions configuration inside cluster, redis is available etc.
Our goal was to move away from elasticsearch and hazelcast exporters to redis only, but we can’t get it running on 8.5.
Is there a way to debug what exactly is causing these errors? Seems like it tries to execute .close() on a null client which was not initiated due to some “validation error”
Elasticsearch and hazelcast exporters are disabled.
Thank you