Migrations
Migration guides
Migrate to npayload from Kafka, RabbitMQ, AWS SNS/SQS, and other messaging systems
npayload can replace or complement your existing messaging infrastructure. Whether you are running self-managed clusters or using cloud-native services, npayload provides a fully managed alternative with built-in delivery guarantees, encryption, and developer-friendly SDKs.
Why migrate to npayload?
- Fully managed infrastructure. No brokers, clusters, or nodes to provision, patch, or scale.
- Built-in delivery guarantees. Dead letter queues, circuit breakers, configurable retries, and exponential backoff included out of the box.
- No cluster management. No partition rebalancing, no consumer lag monitoring, no broker disk alerts.
- SDK simplicity. A single
@npayload/nodepackage replaces vendor-specific client libraries and serialization boilerplate. - Cross-region built in. Multi-region messaging works without manual replication configuration.
Migration guides by platform
General migration checklist
Regardless of which system you are migrating from, the high-level process follows the same pattern:
- Map your existing topics or queues to npayload channels. Identify each topic, exchange, or queue in your current system and create a corresponding npayload channel.
- Set up subscriptions to match your consumer configuration. For each consumer, create an npayload subscription with the appropriate delivery mode (webhook, queue, or consumer group).
- Update publishers to use the npayload SDK. Replace your existing producer client with
@npayload/nodepublish calls. - Run both systems in parallel during transition. Use connectors or dual-write patterns to send messages to both the old system and npayload simultaneously.
- Migrate consumers one at a time. Switch each consumer from the old system to npayload independently, verifying correctness at each step.
- Decommission the old system. Once all producers and consumers have been migrated and validated, shut down the legacy infrastructure.
npayload provides built-in connectors for Kafka, SQS, and EventBridge that enable bridge mode during migration. This lets you run both systems in parallel without custom dual-write code.
Next steps
- Channels concept for understanding npayload's core messaging primitive
- Subscriptions concept for delivery modes and consumer configuration
- Connectors guide for bridging npayload with external systems
Was this page helpful?