Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a Node.JS Client #22

Open
rmarting opened this issue Sep 19, 2022 · 3 comments
Open

Provide a Node.JS Client #22

rmarting opened this issue Sep 19, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@rmarting
Copy link

Node.JS client could be a great feature to allow producing and consuming messages from this language. This client should be published in the npm repositories to be used by the Node.JS community of developers.

This client should be aligned in the same way as the current Go Client.

@jorgebay jorgebay added the enhancement New feature or request label Sep 19, 2022
@jorgebay
Copy link
Contributor

I've pushed Node.js examples on how to produce and consume using the REST API.

It's a walkthrough of the request-response flow expected by the API, it's maybe not as straightforward as a client library but at least it doesn't require a library dependency (any http library should work).

@rmarting
Copy link
Author

rmarting commented Dec 1, 2022

That example looks like great, easy, and simple. It is a great starting point for Node.js applications.

It there is no plan to create a native npm package to pub/sub messages to/from BarcoStreams, then that example could be enought for now.

TBH I am not very fan of HTTP consumers 🤷‍♂️ for this kind of platforms, but at least, it is fair enought for now.

@jorgebay
Copy link
Contributor

jorgebay commented Dec 5, 2022

Having a npm package for a client library would be awesome, that way to we could simplify produce/consume flow in code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants