Advertisement
Guest User

Untitled

a guest
Feb 19th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. from Senthil Nathan (IBM) to Everyone: 2:10 PM
  2. namespace com.ibm.vanta.test ;
  3. composite HelloWorld {
  4. graph
  5. // Beacon is a test data generator.
  6. /*
  7. Comment line 1.
  8. Comment line 2.
  9. */
  10. (stream<rstring message> Greeting) = Beacon() {
  11. param
  12. iterations: 5;
  13.  
  14. // Whenever you want to customize what value is sent in your tuple attributes, you can output clause.
  15. output
  16. Greeting: message = "Hello World";
  17. }
  18. () as MySink1 = FileSink(Greeting) {
  19. param
  20. file : "/dev/stdout" ;
  21. flush: 1u; // Flush to the file on every incoming tuple. Never do this in production.
  22. // Suffixes: u=unsigned, w=word 16 bit, b=byte 8 bit, l=long 64 bit, f=32 bit float
  23. // If you don't prefer using a suffix, you can use explicit type casting : (uint32)1
  24. }
  25.  
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement