Skip to content

Commit

Permalink
docs: improved functionality of documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSteinert committed Dec 11, 2023
1 parent 30375e8 commit fe15d84
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions transfer/streaming/streaming-01-http-to-http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ curl -H 'Content-Type: application/json' -d @transfer/streaming/streaming-01-htt
First we need to set up the logging webserver on the consumer side that will receive a call for every message. For this
you'll need to open another terminal shell and run:
```shell
docker build -t http-request-logger util/http-request-logger
docker run -p 4000:4000 http-request-logger
./gradlew util:http-request-logger:build
HTTP_SERVER_PORT=4000 java -jar util/http-request-logger/build/libs/http-request-logger.jar
```
It will run on port 4000.

Expand Down
4 changes: 2 additions & 2 deletions transfer/streaming/streaming-02-kafka-to-http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ curl -H 'Content-Type: application/json' -d @transfer/streaming/streaming-02-kaf
First we need to set up the logging webserver on the consumer side that will receive a call for every new event. For this
you'll need to open another terminal shell and run:
```shell
docker build -t http-request-logger util/http-request-logger
docker run -p 4000:4000 http-request-logger
./gradlew util:http-request-logger:build
HTTP_SERVER_PORT=4000 java -jar util/http-request-logger/build/libs/http-request-logger.jar
```
It will run on port 4000.

Expand Down
4 changes: 2 additions & 2 deletions transfer/streaming/streaming-03-kafka-broker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ First we need to set up the logging webserver on the consumer side that will rec
the address and credentials to connect to the broker and poll the messages from the topic. For this you'll need to open
another terminal shell and run:
```shell
docker build -t http-request-logger util/http-request-logger
docker run -p 4000:4000 http-request-logger
./gradlew util:http-request-logger:build
HTTP_SERVER_PORT=4000 java -jar util/http-request-logger/build/libs/http-request-logger.jar
```
It will run on port 4000.

Expand Down
1 change: 1 addition & 0 deletions util/http-request-logger/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ plugins {
}

tasks.withType<Jar> {
from(sourceSets["main"].output)
manifest {
attributes["Main-Class"] = "org.eclipse.edc.samples.util.HttpRequestLoggerServer"
}
Expand Down

0 comments on commit fe15d84

Please sign in to comment.