You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ If you want to use local versions of JHipster and the Kafka module:
105
105
2. Create a JHipster project in a new folder: `mkdir myproject && cd myproject && jhipster` (you can also create a backend project only with `jhipster --skip-client`)
106
106
3. Choose `Apache Kafka as asynchronous messages broker` in server side options when answering the following question : "Which other technologies would you like to use?"
107
107
4. In the same folder, then run `yo jhipster-kafka` and then follow the use case you need
108
-
5. After the generation have been done, run Kafka with: `docker-compose -f src/main/docker/kafka.yml up -d` (or without `-d` and ensure you have a docker-compose version >= 1.27.4)
108
+
5. After the generation have been done, run Kafka with: `docker-compose -f src/main/docker/kafka.yml up -d` (or without `-d` and ensure you have the latest docker-compose version and that you have uncommented `127.0.0.1:` in your `kafka.yml` locally)
109
109
6. Run your application with: `./mvnw`
110
110
111
111
The different [use cases](USE_CASES.md) are listed on another page.
@@ -168,8 +168,6 @@ The **END** represents the end of the prompts below, when files are written afte
168
168
<li><em>If "N" was selected:</em> <strong>END</strong></li>
169
169
</ul>
170
170
171
-
</code>
172
-
173
171
## Skip prompts
174
172
175
173
You can use `yo jhipster-kafka --skip-prompts` to use the default prompts values to generate:
@@ -200,9 +198,16 @@ Generated consumers should not be explicitly used in other classes as each of th
200
198
201
199
🚀 [AKHQ (previously known as KafkaHQ)](https://github.com/tchiotludo/akhq) can be used following those steps in the root directory:
202
200
203
-
1. Run `docker-compose -f src/main/docker/kafka.yml -f src/main/docker/akhq.yml up -d` to launch the ZooKeeper and Kafka services with AKHQ
204
-
1. Go to [http://localhost:11817](http://localhost:11817)
205
-
1. Start your application with `./mvnw` to manage your topics and more!
201
+
1. Run `docker-compose -f src/main/docker/kafka.yml -f src/main/docker/akhq.yml up -d` to launch the ZooKeeper and Kafka services with AKHQ (or without `-d` and ensure you have the latest docker-compose version and that you have uncommented `127.0.0.1:` in your `kafka.yml` locally)
202
+
2. Go to [http://localhost:11817](http://localhost:11817)
203
+
3. Start your application with `./mvnw` to manage your topics and more!
204
+
205
+
## Schema Registry for Avro schemas
206
+
207
+
🚀 [Schema Registry](https://docs.confluent.io/platform/current/schema-registry/index.html) for Avro schemas can be used following those steps in the root directory:
208
+
209
+
1. Run `docker-compose -f src/main/docker/kafka.yml -f src/main/docker/schema-registry.yml up -d` to launch the ZooKeeper and Kafka services with AKHQ (or without `-d` and ensure you have the latest docker-compose version and that you have uncommented `127.0.0.1:` in your `kafka.yml` locally)
210
+
2. Choose to generate Avro schemas (`.avsc` files) for your entities in prompts.
0 commit comments