-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2619eb
commit 15f9e44
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
deployments/tyk/scripts/examples/streams/validated-pubsub/validated-pubsub-1.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
echo "Streams - Validated PubSub" | ||
echo "Part 1: Listening for validated server-sent events" | ||
echo "This script connects to a server-sent event endpoint, and waits to receive messages." | ||
echo "Use script 3 to send messages." | ||
echo "Use script 2 to send a valid message that is received here." | ||
|
||
curl http://tyk-gateway.localhost:8080/streams-simple-pubsub/validated-sse |
2 changes: 1 addition & 1 deletion
2
deployments/tyk/scripts/examples/streams/validated-pubsub/validated-pubsub-4.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
echo "Streams - Validated PubSub" | ||
echo "Part 4: Displaying errors from the application log" | ||
echo "This script watches the Tyk Gateway application log for 'Schema validation failed' messages.". | ||
echo "This script watches the Tyk Gateway application log for errors generated by the stream pipeline processor." | ||
echo "It will display the error message generated by the invalid request sent by script 3." | ||
|
||
docker logs -f tyk-demo-tyk-gateway-1 2>&1 | grep -E "@service=benthos.*path=root.pipeline.processors.1.catch.0" |