AutoMQ is fully compatible with the Apache Kafka protocol, allowing you to connect and exchange messages using standard Kafka client SDKs. This guide outlines the recommended clients for various programming languages and highlights important considerations for their use with AutoMQ.
Compatibility Notes
AutoMQ is compatible with the Apache Kafka protocol, supporting clients from Kafka versions 0.10 to 3.9. This compatibility ensures that any standard Kafka client for these versions can connect to AutoMQ without modification.
We strongly recommend using the latest stable version of your chosen client SDK to leverage recent performance enhancements, features, and critical bug fixes.
Recommended Client SDK List
The Apache Kafka community maintains a list of client SDKs for various programming languages, which you can find in the official documentation. Based on extensive testing and production use, we recommend the following clients for optimal performance and stability with AutoMQ. To help you get started, we provide code samples for each recommended client in our AutoMQ Labs repository.
If the SDK you are using is not among the recommended ones listed above, as long as it is compatible with the Apache Kafka protocol, you can continue to access AutoMQ. We suggest reviewing the known issues list below and adjusting parameters accordingly.
Client Parameter Tuning
When using the SDK to send and receive messages, in addition to selecting the recommended SDK version, you need to tune the key parameters of the Producer to achieve optimal performance. Below are the recommended Producer configurations for each SDK and Kafka Output.
Apache Kafka Java Client > 2.1
Apache Kafka Java Client <= 2.1
franz-go
kafka-go
Sarama
Logstash Kafka Output
Filebeat Kafka Output
Fluentd Kafka Output
Fluent Bit Kafka Output
Vector Kafka Sink
Appendix: Other Known Issues