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

Kafka version downgraded when using module #58

Closed fdelbrayelle closed 4 years ago

fdelbrayelle commented 4 years ago
Overview of the issue

The Kafka version used to get kafka and zookeeper images is downgraded when using Kafka module after generating a project with updated main generator.

Motivation for or Use Case

The Kafka version should match the version used by the main generator or even better is newer because the Kafka module would evolved unlike the Kafka part on main generator.

Reproduce the error
  1. jhipster # with Kafka option
  2. Check the KAFKA_VERSION in kafka.yml : 5.5.0 (as defined in generator-constants.js of the main generator in v6.9.0)
  3. yo jhipster-kafka
  4. Check the KAFKA_VERSION in kafka.yml : 5.3.1 (as defined in generator-constants.js of the main generator in v6.6.0)
Related issues
Suggest a Fix

In package.json the generator-jhispter version is > 6.6.0 so this is set to 6.6.0 in package-lock.json.

Two possibilities:

JHipster Version(s)

6.9.0