Kafka Trigger Infinite Reconnection

Describe the problem/error/question

When the Kafka service goes offline unexpectedly, the Kafka Trigger node will continuously attempt to reconnect without returning an error

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 2.1.5
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):own
  • Running n8n via (Docker, npm, n8n cloud, desktop app):desktop
  • Operating system: windows

Looks like you’re dealing with a persistent reconnection issue with the Kafka Trigger node. You could try setting a maximum reconnect attempts limit in the node’s configuration to prevent infinite loops. Check the “Retry” settings in the node properties for this option.

Let me know if this works!

Okay, currently, I am circumventing the issue of failures by adjusting the maximum number of retries, but I believe this is not the core problem

It might not be the core problem but retries can help if it it is failing. It’s not erroring but clearly its not connecting properly so it might be an error with the node.