https://github.com/firmanjs/nodejs-pub-sub-google-example
riset publisher subscriber untuk kebutuhan integrasi
https://github.com/firmanjs/nodejs-pub-sub-google-example
gcp nodejs publish-subscribe
Last synced: 6 months ago
JSON representation
riset publisher subscriber untuk kebutuhan integrasi
- Host: GitHub
- URL: https://github.com/firmanjs/nodejs-pub-sub-google-example
- Owner: firmanJS
- Created: 2021-02-09T09:39:27.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-11T07:42:58.000Z (about 5 years ago)
- Last Synced: 2025-02-02T09:41:32.000Z (about 1 year ago)
- Topics: gcp, nodejs, publish-subscribe
- Language: JavaScript
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Nodejs Pub/Sub GCP Example
## Documentation
[Cloud Pub/Sub](https://cloud.google.com/pubsub/docs) is a fully-managed real-time messaging service that allows
you to send and receive messages between independent applications.
This document contains links to an [API reference](https://googleapis.dev/nodejs/pubsub/latest/index.html#reference), samples,
and other resources useful to developing Node.js applications.
For additional help developing Pub/Sub applications, in Node.js and other languages, see our
[Pub/Sub quickstart](https://cloud.google.com/pubsub/docs/quickstart-client-libraries),
[publisher](https://cloud.google.com/pubsub/docs/publisher), and [subscriber](https://cloud.google.com/pubsub/docs/subscriber)
guides.
A comprehensive list of changes in each version may be found in
[the CHANGELOG](https://github.com/googleapis/nodejs-pubsub/blob/master/CHANGELOG.md).
* [Google Cloud Pub/Sub Node.js Client API Reference](https://googleapis.dev/nodejs/pubsub/latest/index.html)
* [Google Cloud Pub/Sub Documentation](https://cloud.google.com/pubsub/docs/)
* [github.com/googleapis/nodejs-pubsub](https://github.com/googleapis/nodejs-pubsub)
Read more about the client libraries for Cloud APIs, including the older
Google APIs Client Libraries, in [Client Libraries Explained][explained].
[explained]: https://cloud.google.com/apis/docs/client-libraries-explained
## How To Use
* copy env-sample in terminale
```sh
cp .env-sample .env
```
* run listerner service subscription
```sh
node retriveMessage
```
* run publisher service
```sh
node publishMessage
```