-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial work to have data automatically generated. To make this happ… #15
Conversation
…n in "monolith" mode RentalApplication w/ the "simulator" profile active. If running microservices, add the "simulator" profile to the UserInterface microservice.
rental/src/main/java/io/axoniq/demo/bikerental/rental/ui/BikeRentalDataGenerator.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me the simulation was not triggered until I changed the Flux<String>.subscribe()
by .toStream().forEach(logger::info)
... probably because the method in which subscribe()
is called does not return anything, and it may be just that the JVM is optimizing that code away.
rental/src/main/java/io/axoniq/demo/bikerental/rental/ui/Simulator.java
Outdated
Show resolved
Hide resolved
Addressing code review comments
…n in "monolith" mode RentalApplication w/ the "simulator" profile active. If running microservices, add the "simulator" profile to the UserInterface microservice.
I've merged latest changes from the docs, and updated the tutorial to integrate some of the changes. I've launched the application and connected it to AxonIQ Console, and now it looks really useful thanks to that constant activity provided by the simulator. My main concern (the activity not being launched) has been addressed. The rest of the comments, we will improve and iterate over time. But I think it will be useful to show activity and the usefulness of AxonIQ Console as it is now. Hence, I'm approving the PR to be merged. |
…en in "monolith" mode RentalApplication w/ the "simulator" profile active. If running microservices, add the "simulator" profile to the UserInterface microservice.