Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3667

Problem with loading LAZY entities in a microservice architecture with Kafka

$
0
0

I have services that communicate via REST and everything works fine. But I want to move the communication to Kafka and, due to the fact that the services will communicate asynchronously via Kafka, there may be a problem with loading LAZY database entities.

Example: A user entity was sent, which depends on the entity of the department in which he works. But if we need to contact the department, the service will not be able to load it into the consumer.


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>