updating scs-099 tutorial
This commit is contained in:
@@ -40,8 +40,9 @@ java -jar scs-099-0.0.1-SNAPSHOT.jar
|
||||
_the application starts to listen on port 8080. make sure that port is not occupied by any other app already, if is try
|
||||
to pass the following parameter before `-jar` by adding `-Dserver.port=8081`_
|
||||
|
||||
Basically in this test, Producer adding 10 messages into kafka topic every 5 sec.
|
||||
|
||||
## Run the Test2
|
||||
## Single Producer and Single Consumer
|
||||
|
||||
```shell
|
||||
java -Dspring.profiles.active=test2 -jar scs-099-0.0.1-SNAPSHOT.jar
|
||||
@@ -49,7 +50,7 @@ java -Dspring.profiles.active=test2 -jar scs-099-0.0.1-SNAPSHOT.jar
|
||||
|
||||

|
||||
|
||||
## Run the Test3
|
||||
## Single Producer and Single Consumer with 3 Thread
|
||||
|
||||
```shell
|
||||
java -Dspring.profiles.active=test3 -jar scs-099-0.0.1-SNAPSHOT.jar
|
||||
@@ -57,7 +58,7 @@ java -Dspring.profiles.active=test3 -jar scs-099-0.0.1-SNAPSHOT.jar
|
||||
|
||||

|
||||
|
||||
## Run the Test4
|
||||
## Single Producer and 3 Consumer App (3 separate JVM process)
|
||||
|
||||
Run the following codes in 3 different terminal
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 33 KiB |
Reference in New Issue
Block a user