Resolve "Disconnected from node" error when publish message to Kafka

Resolve "Disconnected from node" error when publish message to Kafka

book

Article ID: KB0070952

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks Plug-in for Apache Kafka 6.x

Description

While sending messages to Apache Kafka using the TIBCO ActiveMatrix BusinessWorks™ Plug-in for Apache Kafka, the SendMessage activity fails with the below error:
TIBCO-BW-PALETTE-KAFKA-500005: Exception occurred while send message to broker. Disconnected from node 0

 

Issue/Introduction

Resolve Disconnected from node error when publish message to Kafka

Environment

All systems

Resolution

The error usually occurs when the firewall forcibly closes a connection. To overcome such an issue, please assign a non-zero value in the SendMessage activity -> General -> Retries.

This will make the Kafka client auto-resend the message in case of a transient error.