Relative Content

Tag Archive for node.jsmicroservices

How to take out common utility in a single codebase when adopting to microservice

Consider I have 2 microservices , now I have a situation where I have written a error handling function wrapping all my contollers of one of the services (more or less this function is creating a log in my kakfa and sending the response to my client in a specified signature). Now same thing I want to have in my other service and I do not want to write that code again (duplicate them).