Delay occurs when the target kafka is down and the kafka assertion is executed. The reason seems to be that connection attempts are made for a long time.
Is there a way to pass asynchronously quickly when a kafka failure occurs?
Release : 10.0
Component : API GATEWAY
The default timeout is 1 minute, to change it, open the Kafka Client Configuration > Producer tab > Advance Properties > add max.block.ms and set to desired value (in milliseconds).
For example, the following setting will change the timeout to 1 second,
For more available advanced properties of producer, please refer to,