You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10)
MacOs Big Sur
JDK (Oracle 1.8.0_112, OpenJDK 1.8.x, Azul Zing)
OpenJDK 1.8
Expected Behavior
Please describe the expected behavior of the issue, starting from the first action.
I start the services in dev mode using sbt runAll
I would expect to be able to manually define which services are started (and I mean all the way startup, including instantiation of ServiceImpl classes)
Actual Behavior
I start the services in dev mode using sbt runAll
Only services that produce kafka topics are started automatically
services that consume kafka messages (only have a subscriber and no own topics) are not started
this means that every service that only consumes has to be initialized with a previous message. An email service that consumes some kafka messages and sends out emails is not initialized
I would expect there to be a way to eagerly initialize classes like I could with guice in PlayFramework. Especially for initialization of certain data or for the described passive listener behaviour this is crucial.
I could not find anything in the docs, on google or anywhere else to facilitate this so I'm guessing explicit eager startup is not possible right now. Only services with topics are started eagerly.
Reproducible Test Case
That issue is reproducible even in the demo projects.
The text was updated successfully, but these errors were encountered:
Lagom Version (1.2.x / 1.3.x / etc)
1.6.4
API (Scala / Java / Neither / Both)
scala with macwire
Operating System (Ubuntu 15.10 / MacOS 10.10 / Windows 10)
MacOs Big Sur
JDK (Oracle 1.8.0_112, OpenJDK 1.8.x, Azul Zing)
OpenJDK 1.8
Expected Behavior
Please describe the expected behavior of the issue, starting from the first action.
Actual Behavior
I would expect there to be a way to eagerly initialize classes like I could with guice in PlayFramework. Especially for initialization of certain data or for the described passive listener behaviour this is crucial.
I could not find anything in the docs, on google or anywhere else to facilitate this so I'm guessing explicit eager startup is not possible right now. Only services with topics are started eagerly.
Reproducible Test Case
That issue is reproducible even in the demo projects.
The text was updated successfully, but these errors were encountered: