Closed jdubois closed 8 years ago
👍 to refactor the questions. But we should keep the yo-rc format same as today.
Do you want to add Kafka to monoloth as well or just for microservices?
I can help you with refactoring the prompts part if you need.
I would merge the below into a single option with multiselect.
I am currently taking a look to Spring Cloud Bus, which is the default messaging solution for spring cloud microservices...so I would like to participate on this part, when I did some experiments with it.
One other hot topic is something called event sourcing, which in short is another way of service-to-service communication, as an allternate way to REST communication
Great!
One alternative to clustered HTTP sessions is to use Spring-Session, it allows to cluster sessions in redis, jdbc, mongo, supports websockets, and I think supports undertow also
@xetys Regarding to event sourcing and whole JHipster's microservice approach I consider to align JHipster with Axon Framework - please look at it - as another approach to building microservice architecture with CQRS and DDD. Maybe it would be reasonable to align Spring Cloud Bus to Axon as a message bus and leverage whole Axon's CQRS?
@jdubois OK then ill rewrite the promts first. you can add the kafka option to it later
Aside from the docker config, what will we generate in the app ? Send the application logs and metrics for logstash ?
For the moment, I would also add the dependencies, and configure the .yml files. Maybe we will need a specific Configuration class, but I'm not sure yet.
Nothing very complex, probably, so that would be small option, with little effect on the other options.
Just commited a first version, no Gradle support yet.
Just commited a new version with Gradle + microservices working.
Closing as this is merged
Should we add any default sample like we have the tracker for websocket?
That's one of my goals, but not now:
One important feature we currently don't provide is asynchronous messaging. I'm not listing here why it's a good thing :-)
There are a number of implementations to achieve this: with ActiveMQ, RabbitMQ, Kafka, Redis, etc... And of course we need a good API for this.
I've already got something working with Kafka, but I'm using Spring Kafka directly: I'm not satisfied with it, but I know how to do it, and I know it works :-)
My current idea is to:
Then that would add a new question on the generator, so my idea is to refactor some existing questions: