Mixing java and scala

Hi All,

I wanted to know if it is possible to develop in both Java and Scala, i.e. if some services are written in Scala and others in Java. If this is possible how would one go about this?

The main problem is that I want to develop in Scala but my team is concerned that we won’t be able to find or afford Scala developers as we add additional services so we should be able to shift to Java when adding new microservices.

Thanks!
Hamza

Microservices typically communicate using a technology-independent protocol such as HTTP, gRPC, or a message broker such as Kafka. If you stick with this principle, then it’s totally possible to have different services written in different languages.

Thanks Tim! Makes sense.