Skip to content

Instantly share code, notes, and snippets.

@minudika
Created August 9, 2019 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minudika/e25021fcbceee4cfaa5f3f28ac7c5c74 to your computer and use it in GitHub Desktop.
Save minudika/e25021fcbceee4cfaa5f3f28ac7c5c74 to your computer and use it in GitHub Desktop.
@Source(type = 'http-request', source.id='login-request',
receiver.url="https://localhost:8280/analytics",
@map(type='json',
@attributes(messageId='trp:messageId',
username='$.username', loginTime='$.loginTime', loginIp = '$.loginIp')))
define stream InputStream (
messageId string,
username string,
loginIp string,
loginTime long);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment