In this video Oregon do some initial setup of the Nats streaming server.
I first want to give you just a couple of very high level notes on it and we're going to start to deploy
it into our Cuban businesses cluster by writing as you'd guess a config file.
Okay.
So a couple notes here.
So we're making use of something called Nats streaming server to share events across all the different
services inside of application.
You can find documentation for Nat streaming server at docks that Nat Scott Io it's all going to go
there right now.
Here's the documentation page.
Now it's something that is extremely important for you to understand right from the get go.
This is extremely important.
Are going to see it terminology of simply Nats and Nats streaming server.
These are two separate programs two different things and they behave pretty darn differently.
We are not making use of nets NASA is a very simple basic implementation of event sharing Nats streaming
server is built on top of Nats.
It is a more advanced and more full of feature implementation that we are going to be making use of.
So in all the documentation that we look at in all the deployment instructions everything we always
want to be making sure that we're taking a look at something that says Nats streaming server.
Hundred percent of the time.
Having said that throughout the remainder of this course and particularly in this section whenever I
want to refer to that streaming server I'm going to very frequently say simply Nats just because saying
that streaming server over and over and over again is going to be really annoying.
So for you just keep in mind that we're always going to want to look at documentation around Nat streaming
server and this applies even to the official documentation once we come over here on the left hand side
we're going to see stuff that says Nats concepts developing with Nats and so on that is all references
to just plain NATS which we're not using we are using Nats streaming server so the documentation we
want to look at.
We're going to scroll down on the left hand side and eventually find Nats streaming concepts.
These are the documentation sections we care about is developing with that streaming.
Yep we care about that and here's Nats streaming server.
Yep.
We care about that.
So again make sure you are not reading about Nats.
Make sure you are reading about Nats streaming server.
So that mind some many different features of Nat streaming are going to be absolutely tremendous in
how we eventually start to implement some of our different services and particularly how we share data
between them.
So in the coming videos we're going to get Nat streaming server up and running inside of our carbonated
cluster.
We're going to create a very small little project where we are just writing out some no J.S. code to
work with Nat streaming server directly so we can get a better idea of how it behaves how it shares
information around how he vents get persisted how we can somehow synchronize new services that we add
into our application insulin.
We are going to run Nat streaming server inside of our Cuban cities cluster by using the official Docker
image called Nats streaming.
Let's go take a look at the image documentation on Docker Hub right now.
Just we have a better idea of how we can get the thing up and running so inside of a second browser
tab I'm going to navigate to hub Docker at dot com and then once here I will search for NATS at the
top and again we're going to see it one image called Nats and another called Nats streaming.
So again we want to make sure we are always going for NATS.
Streaming then on this page we can take a look at some documentation the documentation I really want
to point out to you is at the very very bottom of this page though specifically the command line options.
These are a ton of different options that we can provide when we create our deployment.
I'll show you how we stick these in and these are going to customize Howard Nordstrom's over behaves.
Some of these options are really important for us to set and in some cases we definitely do not want
to be using the default settings.
All right.
So in this video we've really established three things.
Number one we're using that streaming server not Nats.
Number two we're going to take a look at the Nats documentation and when we do we're going to make sure
we take a look at these streaming documentation.
And number three we're going to run that streaming server inside of our carbonated cluster by deploying
it like any other service in our app and I guess number three point five or so.
We definitely want to keep this page open.
The Docker Hub documentation on the nat streaming image so we can take a look at the different command
line options that are available to us.
All right.
It's a quick pause right here.
We're going to start to deploy this into our cluster in the next video by writing a deployment.