fdelbrayelle / generator-jhipster-kafka

A JHipster module that generates Apache Kafka consumers and producers and more!
Apache License 2.0
28 stars 10 forks source link

Have the choice between an incremental mode or a big bang mode #53

Closed fdelbrayelle closed 4 years ago

fdelbrayelle commented 4 years ago
Overview of the feature request

Give the choice to the use between:

Motivation for or Use Case

The actual prompt system does not allow to choose between management alternatives. The module needs to be more flexible to match more use cases.

This feature request won't implement the modification or removal of individual existing configuration.

Related issues or PR

Closes deprecated issues #48 and #52

monxxi commented 4 years ago

in this feature, i suggest these behaviours:

fdelbrayelle commented 4 years ago

For the big bang mode I'd delete all generated code including consumers and producers rather than just disable them. As a user if you are choosing big bang mode you are supposed to master what you do. Maybe we could put an alert in red in the prompt to warn the user?

Concerning the incremental mode, I agree but if an entity already have both a consumer and a producer it shouldn't be listed. What do you think about that?

monxxi commented 4 years ago

i'm agree, i'll work towards