Search code examples
c#angularmicroservicesjhipstergateway

Different programming languages integration in JHipster microservices web app


I have an existing JHipster microservices web app with Angular frontend and Consul service discovery.

I have created a gateway and one microservice with Java, Spring, and Hibernate. Everything works fine.

WHAT I WANT

I want to add one more microservice with a different programming language, such as .Net and C#

QUESTION

Is it possible? How do I achieve this?


Solution

  • Yes it's possible as long as your other services are able to integrate into your existing infra structure:

    • by registering in Consul and reading their configuration from Consul too
    • validating gateway's authentication token
    • forwarding their logs to your centralized logging system (e.g ELK)
    • exposing their metrics to your monitoring system (e.g. Prometheus)

    As JHipster uses quite common technologies, it should not be too hard.