Frequently asked questions about sending messages from producer clients in ApsaraMQ for Kafka.
Configuration and best practices
-
Best practices for sending messages
Recommended producer configurations for reliable, high-throughput message delivery.
-
Rules for configuring client parameters
Guidelines and constraints for configuring producer parameters.
Testing and verification
-
Verify that your producer can connect to the broker and send messages.
-
Check whether a message was sent successfully
Confirm the send result on the client after calling the producer API.
Producer behavior
-
Producer connections to the broker
Number of TCP connections a producer opens and the purpose of each connection.
-
Java client callback settings and sending speed
How asynchronous callbacks in the Java producer affect throughput, and how to optimize them.
-
PHP client delay when sending messages
Why the PHP client may be slow to send a message and how to reduce the delay.
Troubleshooting
-
Common errors returned by ApsaraMQ for Kafka clients, their causes, and solutions.
-
Instance endpoint is not reachable by ping
Why pinging the endpoint does not work and how to verify connectivity to your instance.
-
"Cluster authorization failed" error after enabling idempotence
How to resolve the
Cluster authorization failederror when the idempotence feature is enabled.