confluentinc / ksql

The database purpose-built for stream processing applications.
https://ksqldb.io
Other
102 stars 1.04k forks source link

KSQL_KSQL_HEARTBEAT_ENABLE settings inquiry #10191

Open sdYoo opened 8 months ago

sdYoo commented 8 months ago

Hi!

I am running ksqldb in 2 pods. I enable ksql's "KSQL_KSQL_HEARTBEAT_ENABLE" setting I get excessive logs. Changing the KSQL_KSQL_HEARTBEAT_ENABLE setting to false will reduce the log. However, I would like to know if there are any issues when changing the setting to false when two devices are in operation. so ksqldb settings are also shared.

  1. What happens if I disable the "KSQL_KSQL_HEARTBEAT_ENABLE" setting?
  2. Is there a way to reduce the communication log with the "KSQL KSQL HEARTBEAT ENABLE" setting enabled?

**ref. ksqldb deployment yaml spec: progressDeadlineSeconds: 600 replicas: 2 revisionHistoryLimit: 10 .............. ..............

sdYoo commented 8 months ago

@ijuma @sullis @codyaray @ewencp Does anyone know what happens when this "KSQL_KSQL_HEARTBEAT_ENABLE" setting is changed to false?

juanluhidalgo commented 5 months ago

Hi, if the problem are the logs you can disable just with this https://docs.ksqldb.io/en/latest/reference/server-configuration/#ksqlendpointloggingignoredpathsregex

My recommendation would be to keep the heartbeat enabled and adjust the interval of the heartbeats which is pretty aggressive.