1. 程式人生 > >Ask HN: Downside of exporting SDK per microservice and best practices

Ask HN: Downside of exporting SDK per microservice and best practices

Every microservice, exposes APIs. I've read somewhere that, it's a bad practice to export an SDK to other microservices because it limits the independent deployability. But is it true? What are other downsides of this approach? The problem is that, without the SDK, every microservice will need to request the same data, and validate it in some way - which is some boilerplate code which in general one would like to have automatically filled.