README updated and docker-compose file cleanup
This commit is contained in:
@@ -11,14 +11,14 @@ To run this sample, you will need to have installed:
|
||||
|
||||
## Running the application
|
||||
|
||||
The following instructions assume that you are running Kafka as a Docker image.
|
||||
The following instructions assume that you are running RabbitMQ as a Docker image.
|
||||
|
||||
* Go to the application root (not the repository root, but this application)
|
||||
* `docker-compose up -d`
|
||||
|
||||
* `./mvnw clean package`
|
||||
|
||||
* `java -jar target/reactive-processor-0.0.1-SNAPSHOT-kafka.jar`
|
||||
* `java -jar target/reactive-processor-rabbit-0.0.1-SNAPSHOT.jar`
|
||||
|
||||
The main application contains the reactive processor that receives textual data for a duration and aggregates them.
|
||||
It then sends the aggregated data through the outbound destination of the processor.
|
||||
@@ -38,15 +38,3 @@ Data received: foobarfoobarfoo
|
||||
```
|
||||
|
||||
* `docker-compose down`
|
||||
|
||||
## Running the application using Rabbit binder
|
||||
|
||||
All the instructions above apply here also, but instead of running the default `docker-compose.yml`, use the command below to start a Rabbitmq cluser.
|
||||
|
||||
* `docker-compose -f docker-compose-rabbit.yml up -d`
|
||||
|
||||
* `./mvnw clean package -P rabbit-binder`
|
||||
|
||||
* `java -jar target/reactive-processor-0.0.1-SNAPSHOT-rabbit.jar`
|
||||
|
||||
Once you are done testing: `docker-compose -f docker-compose-rabbit.yml down`
|
||||
|
||||
Reference in New Issue
Block a user