Flex Gateway新着情報
Governance新着情報
Monitoring API ManagerSupport Category: Select
Anypoint Connector for Apache Kafka (Kafka Connector) enables you to connect to the Apache Kafka messaging system, enabling seamless integration between your applications and an Apache Kafka cluster.
Guide: 『Apache Kafka Connector』
Reference: 『Apache Kafka Connector Reference』
December 19, 2024
The Partitioner field for all connection types in the producer configuration now includes a NONE
option, which enables the Kafka client to manage the partition strategy.
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.1, 3.2.0, 3.3.2, 3.4.0, 3.5.1, 3.6.1, and 3.7.0 |
OpenJDK |
8, 11, and 17 |
Issue Resolution | ID |
---|---|
The connector no longer overrides the transaction ID if it is configured in the Additional Properties field in the producer configuration. |
W-17105037 |
The connector now handles Kafka headers with null values properly by converting them to empty byte arrays instead of throwing a |
W-16167262 |
August 23, 2024
The Bulk publish operation is added to publish multiple messages at the same time.
The custom MuleKafkaAvroSerializer
property is added to publish messages in Avro format.
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.1, 3.2.0, 3.3.2, 3.4.0, 3.5.1, 3.6.1, and 3.7.0 |
OpenJDK |
8, 11, and 17 |
June 18, 2024
Apache Kafka Connector now supports OAuth2 Client Credentials grant type authentication to integrate seamlessly with OAuth2-compliant authorization servers. Use the Consumer SASL/OAUTHBEARER - Client Credentials Connection or Producer SASL/OAUTHBEARER - Client Credentials Connection options in the connector configuration.
The consumer and producer connection configurations have a new Additional properties field to customize the Kafka connection as you desire.
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.1, 3.2.0, 3.3.2, 3.4.0, 3.5.1, 3.6.1, and 3.7.0 |
OpenJDK |
8, 11, and 17 |
May 31, 2024
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.1, 3.2.0, 3.3.2, 3.4.0, 3.5.1, and 3.6.1 |
OpenJDK |
8, 11, and 17 |
Issue Resolution | ID |
---|---|
The connector performance is now improved when redeploying. |
W-15637208 |
February 2, 2024
This connector is now compatible with Java 17.
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.1, 3.2.0, 3.3.2, 3.4.0, 3.5.1, and 3.6.1 |
OpenJDK |
8, 11, and 17 |
January 9, 2024
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.1, 3.2.0, 3.3.2, 3.4.0, and 3.6.1 |
OpenJDK |
8 and 11 |
Issue Resolution | ID |
---|---|
The Mule application deployment no longer fails when the connector connection test fails. |
W-13197433 |
The Kafka clients library is upgraded to version 3.6.1 to address reported security vulnerabilities. |
W-14486778 |
November 29, 2023
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.1, 3.2.0, 3.3.2, and 3.4.0 |
OpenJDK |
8 and 11 |
Issue Resolution | ID |
---|---|
Upgraded snappy-java library version from 1.1.8.1 to 1.1.10.4. |
W-14486778 |
May 4, 2023
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.1, 3.2.0, 3.3.2, and 3.4.0 |
OpenJDK |
8 and 11 |
Issue Resolution | ID |
---|---|
Upgraded the Kafka Clients library from org.apache.kafka:kafka-clients:3.3.2 to org.apache.kafka:kafka-clients:3.4.0. |
W-12665458 |
March 17, 2023
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.1, 3.2.0 and 3.3.2 |
OpenJDK |
8 and 11 |
Issue Resolution | ID |
---|---|
Updated the Maximum polling interval field description both in the Studio UI and the 『Apache Kafka Connector Reference』. |
W-12660459 |
Updated internal dependencies. |
W-12710406 |
February 13, 2023
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.1, 3.2.0 and 3.3.2 |
OpenJDK |
8 and 11 |
Issue Resolution | ID |
---|---|
Kafka Connector now uses kafka-clients 3.3.2. |
W-11554436 |
The Publish operation now handles AUTHENTICATION_ERROR. |
W-12042969 |
Kafka connector now supports the boolean system property |
W-12150770 |
November 25, 2022
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, and 2.8.1 |
OpenJDK |
8 and 11 |
Issue Resolution | ID |
---|---|
The Kafka record is no longer empty when using the Consume operation more than once without using the Commit operation. |
W-11768903 |
Kafka Connector now throws the expected error when the message body exceeds the maximum topic size. |
W-12042969 |
May 30, 2022
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, and 2.8.1 |
OpenJDK |
8 and 11 |
Issue | ID |
---|---|
The connector now displays the correct field names for Default operation poll timeout and Default operation poll timeout time unit. |
W-11137428 |
May 5, 2022
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, and 2.8.1 |
OpenJDK |
8 and 11 |
Issue | ID |
---|---|
The Kafka message key is no longer empty when reprocessing messages when the topic contains more than one partition. |
W-11048498 |
The connector no longer throws null pointer exceptions when the message key is null. |
W-11090869 |
April 7, 2022
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, and 2.8.1 |
OpenJDK |
8 and 11 |
Issue | ID |
---|---|
The Kafka message key is no longer empty when reprocessing messages. |
W-10795597, W-10889605 |
February 4, 2022
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, and 2.8.1 |
OpenJDK |
8 and 11 |
Issue | ID |
---|---|
Reconnection issues caused the Kafka Message Listener to stop consuming messages. |
SE-22821, SE-24437 |
February 2, 2022
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, and 2.8.1 |
OpenJDK |
8 and 11 |
Issue | ID |
---|---|
The IsolationLevel parameter was declared but not implemented in the code. |
CONN-9887 |
January 4, 2022
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, and 2.8.1 |
OpenJDK |
8 and 11 |
Issue | ID |
---|---|
Kafka Message Listener did not process tombstone messages correctly. |
SE-23630 |
Kafka Message Listener stopped when attempting to consume messages in corner cases. |
SE-22821 |
October 27, 2021
Upgraded the Kafka client library to version 2.8.1.
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, 2.7.0, and 2.8.1 |
OpenJDK |
8 and 11 |
October 19, 2021
Added the Consumer SASL/TOKEN Connection and Producer SASL/TOKEN Connection authentication types, which use token delegation to connect to the Kafka cluster.
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, and 2.7.0 |
OpenJDK |
8 and 11 |
September 28, 2021
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, and 2.7.0 |
OpenJDK |
8 and 11 |
Issue | ID |
---|---|
Kafka Connector reconnection did not work when there was an ACL access issue. |
SE-22595 |
Kafka Message Listener did not handle duplicate headers. |
SE-22520 |
September 15, 2021
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, and 2.7.0 |
OpenJDK |
8 and 11 |
Issue | ID |
---|---|
The reconnection strategy did not work. |
SE-22340 |
July 12, 2021
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, and 2.7.0 |
OpenJDK |
8 and 11 |
Kafka Consumer and Message Listener failed after picking one message. (SE-21705)
June 11, 2021
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, and 2.7.0 |
OpenJDK |
8 and 11 |
Kafka Message Listener failed to process messages while using IMMEDIATE ACK. (SE-21070)
June 8, 2021
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, and 2.7.0 |
OpenJDK |
8 and 11 |
Kafka Connector was continuously rebalancing the loop when using multiple consumers per partition. (SE-20824)
April 8, 2021
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, and 2.7.0 |
OpenJDK |
8 and 11 |
Payload was null in the Batch component when using the Batch message listener source. (SE-20119)
March 19, 2021
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, and 2.7.0 |
OpenJDK |
8 and 11 |
Performance degraded when using the Publish operation. (SE-20124)
Kafka connector created a new connection every time a producer published a new message. (SE-20003)
February 25, 2021
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, 2.6.0, and 2.7.0 |
OpenJDK |
8 and 11 |
Added a new configuration property to Producer connections to enable the selection of a message partition strategy from those provided by the kafka-clients
library. The message partition strategy is used for routing messages to partitions when a key or a partition is not provided.
Fixed the performance degradation issue that occurred when an incorrect key was used to remove closed sessions. (SE-19638)
January 29, 2021
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, and 2.7.0 |
OpenJDK |
8 and 11 |
Fixed the Anypoint Studio test connection functionality for producer and consumer connections.
January 15, 2021
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0, and 2.7.0 |
OpenJDK |
8 and 11 |
Upgraded the Kafka client library to version 2.7.0.
January 12, 2021
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0 |
OpenJDK |
8 and 11 |
On Windows, using backslashes as path separators when providing a full path for a keytab file did not work. (SE-15416)
November 26, 2020
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0 |
OpenJDK |
8 and 11 |
Added the ability to leverage the manual offset commit option for the Consume operation.
The manual connector commit inside Mule error handling had no effect. (SE-18605)
November 2, 2020
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0 |
OpenJDK |
8 and 11 |
Apache Kafka Connector ignored the values of the Heartbeat interval and Session timeout fields in the consumer configuration. (SE-18343)
October 15, 2020
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0 |
OpenJDK |
8 and 11 |
The issue that caused the Kafka Connector source to fail to reconnect after multiple queue stop events is fixed. (SE-17727)
September 18, 2020
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0 |
OpenJDK |
8 and 11 |
The issue that caused Kafka Connector to throw a KAFKA:COMMIT_FAILED
error when messages took a longer time to process than what was specified in the Maximum poll interval parameter is fixed. (SE-17447)
July 30, 2020
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0 |
The issue that caused Kafka Connector to throw a No ConnectionProvider defined
error when the connection expires while the client consumer is polling is fixed. (SE-16727)
July 14, 2020
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0 |
Fixed an issue where the value for the password key of the JAAS configuration was not set. (SE-16670)
June 30, 2020
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0 |
Added support for a SASL/PLAIN connection.
June 19, 2020
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0, 2.5.0 |
Added support for a Kerberos connection.
Kafka Connector 4.1.0 did not allow you to pass ssl.endpoint.identification.algorithm
with a blank value. (SE-16215)
Kafka Connector 4.0.0 had missing connection options. (SE-15175)
May 28, 2020
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0 |
Added the SASL SCRAM connection type for connecting to a Kafka broker. This connection type works with the SCRAM-SHA-256 and SCARM-SHA-512 authentication mechanisms.
Added the Endpoint Identification Algorithm field to all connection types. Clients use this field to validate the server hostname.
Inability to set additional properties in Kafka Connector 4.0.0 (SE-15197)
February 25, 2020
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0 |
Kafka Connector 4.0.0 contains a lot of changes to improve efficiency, including new operations to enable you to better understand how to use the connector.
All of the changes included in this version break backward compatibility.
See 『Kafka Connector Upgrade』 for detailed information about all of the changes in this release.
The new features and changes in this release include:
Four new operations, including:
Commit
Consume
Publish
Seek
A new Batch Message Listener source
The addition of different acknowledgment modes in the Consumer configuration, including:
AUTO
MANUAL
DUPS_OK
IMMEDIATE
One plaintext connection type that supports transactions
September 9, 2020
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.4.0 |
Fixed a vulnerability related to the Guava library.
Kafka Connector versions 3.0.8 through 3.0.11 do not work with Mule 4.1.x, as previously stated by the documentation. (SE-17493)
June 12, 2020
Software | Version |
---|---|
Mule |
4.2.1 and later |
Apache Kafka |
2.4.0 |
Changed the Scheduler type from cpuLight to IO. (SE-16328)
December 17, 2019
Software | Version |
---|---|
Mule |
4.2.1 and later |
Apache Kafka |
2.4.0 |
Updated Kafka Client version to the latest to prevent internal exceptions. (SE-14104)
Fixed Kafka consumer disconnection that occurred after a period of inactivity. (SE-14221)
December 16, 2019
Software | Version |
---|---|
Mule |
4.2.1 and later |
Apache Kafka |
2.3.0 |
Fixed relative path issue for Kafka connector settings with Windows. (SE-14140)
November 25, 2019
Software | Version |
---|---|
Mule |
4.2.1 and later |
Apache Kafka |
2.3.0 |
When KafkaConsumer
was stopped by the Mule runtime engine, Kafka threw a concurrency error. (SE-13970)
August 21, 2019
Software | Version |
---|---|
Mule |
4.1.1 and later |
Apache Kafka |
2.3.0 |
Upgraded the Kafka Clients library to version 2.3.0. (CONN-2857)
Implemented validation method for producer and consumer connection. (CONN-2698)
Added Scheduler Service for spawning new threads for consumers. (CONN-2849)
Refactoring to improve compliance with the Mule development best practices. (CONN-2699, CONN-2700, CONN-2701, CONN-2702, CONN-2848, CONN-2703, CONN-2847, CONN-2747, CONN-2696, CONN-2697)
Deprecated the UNKNOWN error type that will be removed in the next major upcoming release. (CONN-2703)
In Kafka versions 3.0.2 to 3.0.6, in the Publish Message operation, the Key field appeared in Anypoint Studio as required. In version 3.0.7, the Key field was no longer required.
In Kafka versions 3.0.2 to 3.0.6, in the Message Consumer source operation, the Partition Offsets field was described as "a list of offsets representing the partitions offsets configuration. For each element in the list you have to specify partition index and offset". In version 3.0.7, the Partition Offsets field is now described as "a list of objects that contain the index of the partition and the offset".
In Kafka versions 3.0.2 to 3.0.6, in the Message Consumer source operation, the Partition Offsets field is typed as an array of offsets. In 3.0.2 to 3.0.6 in the Offset array, the Partition Number and Partition Offset fields did not require values. In 3.0.7, the Partition Number and Partition Offset fields now require values.
In Kafka versions 3.0.2 to 3.0.6, in the Repeatable File Store Stream object, the Max in Memory Size field name was changed to be In Memory Size in 3.0.7.
July 2, 2019
Software | Version |
---|---|
Mule |
4.0.0 and later |
Apache Kafka |
2.2.0 |
Kafka connector overrode the user-defined security.protocol=SASL_SSL
to use the security.protocol=SSL
value. (SE-11947)
June 19, 2019
Software | Version |
---|---|
Mule |
4.0.0 and later |
Apache Kafka |
2.2.0 |
Updated the Kafka Clients library to version 2.2.0.
Updated code to use the poll(java.time.Duration)
method provided in the new library that replaces the deprecated poll(long)
method. The deprecated method did not block beyond the timeout for waiting on a partition assignment. (KIP-266)
May 16, 2019
Software | Version |
---|---|
Mule |
4.0.0 and later |
Apache Kafka |
0.10.2.0 |
Fixed a performance connection validation issue relating to the same issue as in v3.0.3. (SE-11817)
May 16, 2019
Software | Version |
---|---|
Mule |
4.0.0 and later |
Apache Kafka |
0.10.2.0 |
The Test Connection button in Anypoint Studio for the Kafka connector did not work in Mule 4. (SE-11817)
Fixed a performance connection validation issue relating to the same issue as in v3.0.3. (SE-11817)
April 30, 2019
Software | Version |
---|---|
Mule |
4.0.0 and later |
Apache Kafka |
0.10.2.0 |
Can’t stop Kafka consumer flow. See How To Stop Or Start Flows In Mule 4.x Programmatically. (SE-11337)
The Test Connection button in Anypoint Studio for the Kafka connector did not work in Mule 4. (SE-11817)
June 26, 2018
Software | Version |
---|---|
Mule |
4.0.0 and later |
Apache Kafka |
0.10.2.0 |
None
Kafka connector was not serializing and deserializing properly the messages that were not plain text. Now the content of the messages can be sent as any type (plain, XML, JSON) as the value is serialized and deserialized properly.