logoalt Hacker News

reactordevyesterday at 12:52 AM1 replyview on HN

Common code that’s part of your standard library, sure. Just parse the json. Do NOT introduce some shared class library that “abstracts” that away. Instead use versioning of schemas like another commenter said. Use protobuf. Use Avro. Use JSON. Use Swagger. Use something other than POCO/POJO shared library that you have to redeploy all your services because you added a Boolean to the newsletter object.


Replies

narnarpapadaddyyesterday at 1:23 AM

So, depending on someone else’s shared library, rather than my own shared library, is the difference between a microservice and not a microservice?

show 1 reply