Kafka connector "failed to decode incoming item data: unexpected EOF."

XMLWordPrintable

    • Type: Problem report
    • Resolution: Commercial support required
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Support backlog

      Customer was attempting to set up TLS encrypted communication for Kafka connector, when asked to provide LogLevel=5 logs, we received this:

      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!
      

      The Kafka connector appears to be receiving values from the Zabbix Server, but is not forwarding them to Kafka instance.
      Successful LogLevel=5 logs would look like this:

      2025/06/18 11:26:27.441212 Received item with ID 33027
      2025/06/18 11:26:27.441399 new message produced with id: 33027
      

      This ticket goes in combination with this feature request, because the logs currently do not indicate whether this is an issue related to TLS or anything else.

      Based on their TLS configuration in the Kafka connector configuration file, it appears correct, and should be working, but due to the logs not providing much useful information, continuing this troubleshooting is difficult.

      Enlisting the help of developer team, as currently the trail in this investigation has gone cold.

            Assignee:
            Oskars Pucka
            Reporter:
            Tomass Janis Bross
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10.5h
                10.5h