mirror of
https://github.com/wahyd4/spring-cloud-stream-samples.git
synced 2026-08-09 05:16:18 +10:00
Update stale maven coordinates for artifacts.
Polishing docs
This commit is contained in:
@@ -26,12 +26,12 @@ If you are using RabbitMQ binder: `./mvnw clean package -P rabbit-binder`
|
||||
- Start the Schema Registry server
|
||||
[source,bash]
|
||||
----
|
||||
java -jar registry/target/registry-0.0.1-SNAPSHOT.jar
|
||||
java -jar schema-registry-vanilla-server/target/schema-registry-vanilla-server-0.0.1-SNAPSHOT.jar
|
||||
----
|
||||
- Start `consumer` on another terminal session
|
||||
[source,bash]
|
||||
----
|
||||
java -jar consumer/target/consumer-0.0.1-SNAPSHOT.jar
|
||||
java -jar schema-registry-vanilla-consumer/target/schema-registry-vanilla-consumer-0.0.1-SNAPSHOT.jar
|
||||
----
|
||||
- If you want to see how a Spring Cloud Stream application with Kafka Streams work with the schema registry, start the Kafka Streams consumer application.
|
||||
This step only works, if you are using Kafka as the middleware.
|
||||
@@ -41,12 +41,12 @@ java -jar kafka-streams-consumer/target/kafka-streams-consumer-0.0.1-SNAPSHOT.ja
|
||||
- Start `producer1` on another terminal session
|
||||
[source,bash]
|
||||
----
|
||||
java -jar producer1/target/producer1-0.0.1-SNAPSHOT.jar
|
||||
java -jar schema-registry-vanilla-producer1/target/schema-registry-vanilla-producer1-0.0.1-SNAPSHOT.jar
|
||||
----
|
||||
- Start `producer2` on another terminal session
|
||||
[source,bash]
|
||||
----
|
||||
java -jar producer2/target/producer2-0.0.1-SNAPSHOT.jar
|
||||
java -jar schema-registry-vanilla-producer2/target/schema-registry-vanilla-producer2-0.0.1-SNAPSHOT.jar
|
||||
----
|
||||
|
||||
=== Sample Data
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<description>Schema Registry Consumer</description>
|
||||
|
||||
<parent>
|
||||
<groupId>spring.cloud.stream.samples</groupId>
|
||||
<groupId>io.spring.cloud.stream.sample</groupId>
|
||||
<artifactId>spring-cloud-stream-samples-parent</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<relativePath>../../..</relativePath>
|
||||
|
||||
@@ -9,10 +9,10 @@
|
||||
<description>Schema Registry Vanilla Sample</description>
|
||||
|
||||
<modules>
|
||||
<module>producer1</module>
|
||||
<module>producer2</module>
|
||||
<module>consumer</module>
|
||||
<module>registry</module>
|
||||
<module>schema-registry-vanilla-producer1</module>
|
||||
<module>schema-registry-vanilla-producer2</module>
|
||||
<module>schema-registry-vanilla-consumer</module>
|
||||
<module>schema-registry-vanilla-server</module>
|
||||
<module>kafka-streams-consumer</module>
|
||||
</modules>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user