My legacy system (java application) needs to be synchronised with a Lagom microservice.
It means that if my legacy system could get events from the microservice, it could do the necessary to update its database.
In such use case, It think the best way is to get the event from kafka topic.
I tried to implement a websocket entry point returning event by subscribing to a topic.
Then I got this error:
Topic#subscribe is not permitted in the service's topic implementation
So I think it is not the right way to do it.
For me the websocket is the easiest way to connect to Lagom. How should I do it ? Any example ?