Symptom
After you create a topic on the Topics page of the ApsaraMQ for Kafka console, Filebeat returns the following error when sending messages to the topic:
Request was for a topic or partition that does not exist on this brokerCause
Filebeat automatically converts uppercase letters in topic names to lowercase. For example, if you send a message to a topic named AAA, Filebeat converts the name to aaa. Because no topic named aaa exists in ApsaraMQ for Kafka, the broker rejects the request.
Solution
On the Topics page of the ApsaraMQ for Kafka console, create a new topic whose name contains only lowercase letters.