Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration for redis defaulting to hazelcast exporter on startup #691

Open
Jessev6 opened this issue Mar 22, 2024 · 1 comment
Open

Comments

@Jessev6
Copy link

Jessev6 commented Mar 22, 2024

I've verified that my configuration is being picked up, yet at startup, I can only see logs for the hazelcast exporter, which is not installed on zeebe. I'm 100% certain that my configuration is being picked up, as I had to initially create the database that this configuration connects to and this is not set to defaults.

Logs

2024-03-22 19:19:42.937  INFO 1 --- [  restartedMain] io.zeebe.monitor.ZeebeSimpleMonitorApp   : Starting ZeebeSimpleMonitorApp using Java 17.0.4.1 on zeebe-simple-monitor-64896d8b6d-plhxp with PID 1 (/app/classes started by root in /)
2024-03-22 19:19:42.939 DEBUG 1 --- [  restartedMain] io.zeebe.monitor.ZeebeSimpleMonitorApp   : Running with Spring Boot v2.7.3, Spring v5.3.22
2024-03-22 19:19:42.940  INFO 1 --- [  restartedMain] io.zeebe.monitor.ZeebeSimpleMonitorApp   : No active profile set, falling back to 1 default profile: "default"
2024-03-22 19:19:47.643  INFO 1 --- [  restartedMain] i.z.monitor.zeebe.ZeebeHazelcastService  : Connecting to Hazelcast 'localhost:5701'
2024-03-22 19:19:48.194  WARN 1 --- [  restartedMain] c.h.c.i.c.ClientConnectionManager        : hz.client_1 [dev] [5.1.3] Exception during initial connection to [localhost]:5701: com.hazelcast.core.HazelcastException: java.io.IOException: Connection refused to address localhost/127.0.0.1:5701
2024-03-22 19:19:48.195  WARN 1 --- [  restartedMain] c.h.c.i.c.ClientConnectionManager        : hz.client_1 [dev] [5.1.3] Unable to get live cluster connection, retry in 1000 ms, attempt: 1, cluster connect timeout: 30000 ms, max backoff: 30000 ms

Config:

zeebe-importer: redis

server:
  port: 8082
  servlet:
    context-path: /
  allowedOriginsUrls: ""

spring:
  datasource:
    url: jdbc:postgresql://db:5432/postgres
    username: <omitted>
    password: <omitted>
    driverClassName: org.postgresql.Driver

  jpa:
    database-platform: org.hibernate.dialect.PostgreSQLDialect
    hibernate:
      ddl-auto: update

zeebe:
  client:
    broker:
      gateway-address: 127.0.0.1:26500
    security.plaintext: true
  
    worker:
      redis:
        connection: redis://redis:6379
        consumer-group: zeebe-simple-monitor
        prefix: zeebe-events
        useClusterClient: false
        xread-block-millis: 2000
        xread-count: 500
@RobertSF92
Copy link

Any response on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants