Publish message
This guide explains how to publish messages to a topic.
Here's how to publish a message for messaging testing in the Pub/Sub:
-
Go to KakaoCloud console > Analytics > Pub/Sub.
-
Select a topic to publish a message to in the Topic menu.
-
Select the [Publish message] button in the Message tab.
-
Enter the information in the pop-up and select the [Save] button.
Item Description Publish count Number of times the message will be published
- Can be set from 1 to 100Interval between messages (seconds) Time interval between each message based on the publish count
- 1 to 60 seconds
* If publish count is 1, the interval cannot be set as the message is only sent onceMessage body Body of the message to be published, must be 500 KiB or less Attributes Key-value pairs to attach to the message (up to 100 entries)
- Key: Enter a key for the message (1–256 bytes)
- Only English letters, numbers, periods (.), underscores (_), and hyphens (-) are allowed.
- Cannot start withkakaoc
- Duplicate keys are not allowed
- Value: Enter a value corresponding to the key (1–1024 bytes)
- Any character type is allowed, except leading or trailing whitespace and newline characters.
info
- When publishing a message, you must enter the message body or attributes.