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
jhipster # with Kafka option
Check the KAFKA_VERSION in kafka.yml : 5.5.0 (as defined in generator-constants.js of the main generator in v6.9.0)
yo jhipster-kafka
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:
Synchronize package-lock.json module main generator version with the latest
Use a specific updated KAFKA_VERSION in the module (recommended)
JHipster Version(s)
6.9.0
[x] Checking this box is mandatory (this is just to show you read everything)
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
jhipster # with Kafka option
kafka.yml
: 5.5.0 (as defined ingenerator-constants.js
of the main generator in v6.9.0)yo jhipster-kafka
kafka.yml
: 5.3.1 (as defined ingenerator-constants.js
of the main generator in v6.6.0)Related issues
Suggest a Fix
In
package.json
thegenerator-jhispter
version is> 6.6.0
so this is set to6.6.0
inpackage-lock.json
.Two possibilities:
package-lock.json
module main generator version with the latestJHipster Version(s)
6.9.0