Thank you for responding

I've read the documentation in shared link, Now I've created server in 
Golang using docker and want to establish communication between micro 
services s1(PHP lumen) and s2(PHP lumen) which is also available in docker.

Can you please guide me how I can achieve this ?

Thanks in advance.

On Wednesday, 7 July 2021 at 05:38:26 UTC+5:30 sanjay...@google.com wrote:

> This might help https://grpc.io/docs/languages/php/quickstart/
>
> Like it says "You can only create gRPC clients in PHP. Use another 
> language <https://grpc.io/docs/languages/> to create a gRPC server."
>
> On Friday, July 2, 2021 at 3:45:56 AM UTC-7 afde...@gmail.com wrote:
>
>> I am working with micro Service architecture where these micro services 
>> and the api-gateway i.e. api composition layer for accumulating/getting 
>> data from different services, is built using Lumen (php), Currently api 
>> composition/ data get is happening through micro services's REST API 
>> endpoint calling and compositing the data on api gateway side. This whole 
>> stack is in php laravel (lumen) only.
>>
>> I am planning to replace this REST calls of micro service using gRPC, can 
>> anyone guide me with any blog or git repository having this complete gRPC 
>> solution with its server and client implementation in php.
>>
>> I did some analysis with gRPC and found that basically it needs gRPC 
>> client, protobuff and gRPC server
>>
>> Also a question :
>>
>> If I want to implement gRPC, does it require to strictly change the micro 
>> service (from where I am getting the data) like I will need to create the 
>> client lib using the protobuff for the microservice implementation and then 
>> -  how would that generated lib would be called from the api gateway, what 
>> is the role of gRPC server here. Will the proceedure request first be made 
>> to grpc server and server will further make it to grpc client or how 
>> exactly it is?
>>
>> Any help / guidance will be highly appreciated.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/e6692a06-85d2-4252-89ae-32f30a9354a9n%40googlegroups.com.

Reply via email to