grpc streaming as subscription #5565
Replies: 5 comments 5 replies
-
https://github.com/Urigo/graphql-mesh/tree/master/examples/grpc-example query SearchMoviesByCast {
exampleSearchMoviesByCast(input: { castName: "Tom Cruise" }) @stream {
name
year
rating
cast
}
} I don't think gRPC streams fit with GraphQL Subscription but better with |
Beta Was this translation helpful? Give feedback.
-
When I try this in the example, I see the following error:
|
Beta Was this translation helpful? Give feedback.
-
Can't we use pubsub to support grpc streaming? I read in some other project that they used pubsub method to support streaming. So graphql subscription create pubsub then on the other end forward and receive messages from grpc stream. |
Beta Was this translation helpful? Give feedback.
-
I have tried it, I might be doing something wrong. We need to stream our LLM model response(chatGPT style). Is this possible with @stream ? |
Beta Was this translation helpful? Give feedback.
-
@ardatan any advice? |
Beta Was this translation helpful? Give feedback.
-
Quick Question: Can we use graphql subscription for streaming grpc server side?
Beta Was this translation helpful? Give feedback.
All reactions