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

Add a method to use producer in entity resource #73

Closed fdelbrayelle closed 4 years ago

fdelbrayelle commented 4 years ago
Overview of the feature request

The generated producers should be used in resources at least to allow to test them alongside with consumers.

As consumers are standalone and consume data that are logged it won't be necessary for them to be added in resources.

:warning: Generated producers for a given generated entity can be used in EntityResource.java.ejs that will be extended in the module but this is not the case for producers not linked to a generated entity. In this case, maybe a PrefixResource.java.ejs could be created to do the work.

Motivation for or Use Case

Be able to use and test producers alongside with consumers.