Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-10073

Improve debug level logging for Kafka connector

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

      While troubleshooting a customer issue I had asked for debug level logs for Kafka connector, which should display processed data, but in this case, the debug output contains basically what the default level log contains.
      For example, we were investigating an issue with a crashing Kafka connector, customer had provided debug logs (LogLevel=5) of the crash, but all the information contained in that log is the following:

      2025/06/17 17:16:12.732195 Received item with ID 5201374
      2025/06/17 17:16:12.732209 Received item with ID 9166774
      2025/06/17 17:16:12.732226 Received item with ID 6209734
      2025/06/17 17:16:12.732240 Received item with ID 32329714
      2025/06/17 17:16:12.732265 failed handle request, Failed to read request: failed to decode incoming item data: unexpected EOF.
      2025/06/17 17:16:15.728802 Received shutdown signal
      2025/06/17 17:16:15.728838 shutting down the server
      2025/06/17 17:16:15.728904 shutting down the kafka producer
      2025/06/17 17:16:15.729015 Server shut down, good bye!
      

      Expectation is that we should be able to see the string of data that Kafka connector failed to decode, it is not clear what is the unexpected EOF and continuing troubleshooting is very difficult.

            opucka Oskars Pucka
            tbross Tomass Janis Bross
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: