Hi everyone 🙋♂️
I have Ktor microservices and consuming the APIs in KMM.
Which one do you prefer?
1- Microservices communication to each other through HttpClients and return the response to KMM
• (What about authentication between services? Shouldn’t it be with the user token? It’s also painful to transfer the token)
• BTW I use consul for the service discovery and services are running in the same instance for now :)
2- Make async calls directly to each API and return the response to the clients in KMM
Any suggestions? Thanks in advance!