I have one microservice named UserRegistration for user creation, another microservice named Billing where able to show the billing details for users.
After a new user is being created, it will send userId from UserRegistration to Billing through message queue like Apache Kafka or RabbitMq. Since these 2 microservices has different database, Billing microservice only has userId, how Billing able to retrieve the user details like name, age, address? Through REST API in UserRegistration?