Skip to content

Remove GRPC, replace with SSE and Proto over HTTP API#56

Merged
jkebinger merged 22 commits intorelease-branch-v037from
grpc-fallback
Apr 12, 2023
Merged

Remove GRPC, replace with SSE and Proto over HTTP API#56
jkebinger merged 22 commits intorelease-branch-v037from
grpc-fallback

Conversation

@jkebinger
Copy link
Copy Markdown
Contributor

@jkebinger jkebinger commented Apr 5, 2023

This updates the client to check that prefab can be reached over http and/or grpc. If grpc does not work then attempts to use grpc are disabled.
Adds a http api client for logger stats
adds SSE for streaming updates
removes GRPC code entirely

@jkebinger jkebinger requested review from a team as code owners April 5, 2023 23:21
connectivityTester =
new ConnectivityTester(() -> greetingServiceFutureStub(), httpClient, options);
connectivityTester.testHttps();
grpcAvailable.set(options.isGrpcEnabled() && connectivityTester.testGrpc());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this block until grpc is 👍 👎 ?

I think it's important that we get the config unlocked asap, by whatever means are working.

So if the CDN is working, great, unlock the configstore. This testGrpc should block the grpc strategies, but not the others.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no this is a one shot test.

@jkebinger jkebinger changed the base branch from main to release-branch-v037 April 6, 2023 19:36
@jkebinger jkebinger changed the title Connectivity test and http fallback for logger stats Remove GRPC, replace with SSE and Proto over HTTP API Apr 12, 2023
@jkebinger jkebinger merged commit cf4af8d into release-branch-v037 Apr 12, 2023
@jkebinger jkebinger deleted the grpc-fallback branch April 12, 2023 01:30
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

Successfully merging this pull request may close these issues.

2 participants