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

Management API #1

Open
ghost opened this issue Aug 16, 2018 · 4 comments
Open

Management API #1

ghost opened this issue Aug 16, 2018 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 16, 2018

Was thinking about stream, and subject discovery for administrating liftbridge.

As I understand it NATS has this and it's highly dynamic where you can see the topics and channels being created in real time.

So I want to ask if this is useful to expose over the grpc API.
It will allow building developer and operator tools on top of liftbridge using only grpc. I was thinking about building a simple CUI first.

@tylertreat
Copy link
Member

tylertreat commented Aug 16, 2018 via email

@ghost
Copy link
Author

ghost commented Aug 16, 2018 via email

@tylertreat
Copy link
Member

So one thing I've been wondering is does it make more sense to expose a monitoring API via REST or should it just be a gRPC API?

@ghost
Copy link
Author

ghost commented Sep 2, 2018

Ah good question.
There are some good arguement to use rest, because the client is not as tightly coupled.
I hate REST though. So much untyped mess that gets worse as the API gets bigger.

My instinct is to use grpc for now
It will allow superior real time updating Ops GUI.
Also grpc-web and grpc REST can later easily be codegen on top of grpc proto later if needed.

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

No branches or pull requests

1 participant