Created
August 7, 2019 17:36
-
-
Save minudika/d4ce997ed84ab96b6e8ab4aa7d9f1bfd to your computer and use it in GitHub Desktop.
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
@sink(type='http-request', sink.id='production-alerts', | |
publisher.url='http://localhost:8080/alerts', | |
@map(type='json')) | |
define stream ProductionAlertStream (id string, name string, amount double); | |
@source(type='http-response' , sink.id='production-alerts', http.status.code='200', | |
@map(type='json')) | |
define stream ResponseStream(alertId long, alertMessage string); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment