Amplication
Platform
Solutions
Learn
Star Us 12.7K
Log In to Amplication

Contact us

  • contact@amplication.com
Try Overcut.ai
  • Home /
  • Plugins /
  • NestJS NATS
plugin logo
NestJS NATS
Install Plugin

@amplication/plugin-broker-nats

NPM Downloads

This plugin provide basic integration with NATS servers

Purpose

This plugin saves the developers the mess of boilerplate a new microservice with integration to NATS server.

Instructions

To make sure that the @amplicaiton/broker-nats package will work currectly you as a developer needs to make sure you'r service is booting up with micro-service support in the bootstrap function in the main.ts (This is called an hybrid app).

The two most important function to call are the app.connectMicroservice with a NATS transport and the app.startAllMicroservices function.

Another important thing is to make sure that the NatsModule is called from the app.module.ts

Scripts

build

Running npm run build will bundle your plugin with Webpack for production.

dev

Running npm run dev will watch your plugin's source code and automatically bundle it with every change.

Details
npm
@amplication/plugin-broker-nats
github
https://github.com/amplication/plugins/tree/master/plugins/broker-nats
Installs
2
Categories
Service communication, Message broker
Documentation
https://github.com/amplication/plugins/tree/master/plugins/broker-nats

Get started with Amplication and NestJS NATS

Start NowBook a demo

Platform

Live TemplatesPluginsJovu

Solutions

Enhance platform engineeringBuild new servicesBuild APIs on existing DBModernize applications

Customers

IT ServicesRetailHealthcareManufacturingCustomer stories

Use Amplication

Get started Custom pluginsCustom codeSync with GitEvent-driven architectureBreak the monolith

Resources

DocsCustomer storiesPlugins catalogDiscord communityGitHubBlog

About

CompanyContact us

©2025 amplication

Privacy PolicyTerms & Conditions
Follow usTwitter IconYouTube Icon