Dapr · AsyncAPI Specification
Dapr Pub/Sub Messaging API
Version 1.0.0
The Dapr Pub/Sub AsyncAPI defines the event-driven messaging interfaces for Dapr publish and subscribe operations. Applications publish events to topics and subscribe to receive events using the CloudEvents 1.0 specification format. Dapr supports pluggable pub/sub components including Kafka, RabbitMQ, Redis Streams, Azure Service Bus, AWS SNS/SQS, GCP Pub/Sub, and more.
View Spec
View on GitHub
Distributed SystemsMicroservicesPlatformPub/SubState ManagementWorkflowsAsyncAPIWebhooksEvents
Channels
publish
Publish Event
Channel for publishing events to a topic on a named pub/sub component. The Dapr sidecar wraps payloads in CloudEvents format unless raw payload mode is enabled.
subscribe
Receive Event
Channel for receiving events from subscribed topics. Dapr delivers events to application endpoints based on programmatic or declarative subscription configurations.
bulk-publish
Bulk Publish Events
Channel for publishing multiple events to a topic in a single request. Supports partial failure reporting for individual entries.
Messages
CloudEvent
CloudEvent Message
A message conforming to the CloudEvents 1.0 specification used for all Dapr pub/sub event payloads.
BulkPublishEntry
Bulk Publish Entry
A single entry in a bulk publish request containing the event data and metadata.
Servers
http
dapr-sidecar
localhost:3500
Dapr sidecar HTTP endpoint for publishing events. The sidecar handles routing messages to the configured pub/sub component.