Skip to main content

Pub/Sub overview

KakaoCloud Pub/Sub is a non-installable message queue (Message Queue) service that supports large-scale event handling and data analytics. It adopts an asynchronous communication pattern between a publisher, who generates and publishes information, and a subscriber, who receives and processes the information. Publishers publish messages to a specific topic, while subscribers can subscribe to topics to receive and process the published messages asynchronously.

Terminology
  • Pub/Sub: Short for "Publish/Subscribe", this refers to a message pattern that efficiently distributes and processes information based on data publishing and subscribing.
  • Message queue: Also referred to as a message buffer, this is an asynchronous service-to-service communication model used in serverless and microservice architectures. Messages are stored in a queue and processed once by a single subscriber.
    Message queues decouple large processing jobs, enable buffering or batch processing, and help stabilize systems with fluctuating workloads.

Purpose and use cases

Without a message queue, large-scale data processing and message delivery must be manually implemented, increasing complexity and development time. Communication between applications becomes synchronous, causing delays when one application must wait for another’s response. Such direct interactions also tightly couple applications, making changes and scaling more difficult.
KakaoCloud Pub/Sub supports asynchronous communication between applications or services, making it ideal for handling high-volume message data or Webhook-based integrations, thus improving data management efficiency.

Features

Pub/Sub service enables efficient management of large volumes of messages.

Task parallel processing

  • Supports efficient handling of multiple tasks such as event analysis and processing across many users.

Efficient message management

  • Automatically retries unacknowledged messages based on configured policies such as retry strategy, retention period, and rewind time.
  • Allows message storage and rewind for specific topics as needed.

Push delivery

  • Delivers asynchronous event notifications as soon as a message is published to a topic, and alerts subscribers when the message is available.

Sending messages to Object Storage bucket

  • Sends published messages directly to Object Storage buckets without the need for additional client configuration.

Getting started

For detailed instructions on how to use Pub/Sub, refer to the How-to guides.
If you're new to KakaoCloud, see Getting started with KakaoCloud.