Loading

Apache Kafka Connector Default Acknowledgement Mode for Message Listener

Udgivelsesdato: Oct 20, 2026
Beskrivelse

When configuring the Apache Kafka Message Listener source in Anypoint Studio, the Acknowledgement Mode field can appear empty or unselected by default. The Message Listener documentation does not explicitly show which acknowledgement mode is used when this field is left unpopulated in the listener properties.

Løsning

CAUSE

The Apache Kafka Message Listener inherits its acknowledgement settings directly from the referenced global Kafka Connector Consumer configuration (consumer-config).

In the global connector configuration, the default acknowledgement mode is set to AUTO. When the Message Listener source does not explicitly define an override in its own configuration dropdown, it automatically falls back to the setting defined in the referenced global configuration.

SOLUTION

To verify or change the effective acknowledgement mode for the Kafka Message Listener, configure the connector settings at the global configuration level or override them at the listener source level:

Review or Modify the Global Consumer Configuration

  1. Open the Mule application in Anypoint Studio.
  2. Navigate to Global Elements and select your Kafka Consumer configuration (or open the configuration directly from the Message Listener source).
  3. Select the Advanced tab.
  4. Scroll to the bottom of the properties list to locate the Acknowledgement Mode field.
  5. Verify that it is set to AUTO (the default setting), or change it to your required mode (such as MANUAL).
  6. Save the configuration.

Override Acknowledgement Mode at the Message Listener Level

If the Message Listener must use an acknowledgement mode different from the global configuration:

  1. Open the Kafka Message Listener source component in the flow.
  2. In the listener properties panel, locate the Acknowledgement Mode dropdown.
  3. Explicitly select the desired acknowledgement mode (e.g., AUTO, MANUAL, or IMMEDIATE) instead of leaving the field blank.
  4. Save and deploy the application.

For detailed descriptions of available parameters, refer to the Apache Kafka Connector Reference.

APPLIES TO

  • Anypoint Connector for Apache Kafka (Kafka Connector)
  • Mule runtime engine 4.x
  • Anypoint Studio
Vidensartikelnummer

005462358

 
Indlæser
Salesforce Help | Article