New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback: Creating Data Pipelines for IoT with StreamSets #9

Open
iandow opened this Issue Mar 13, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@iandow
Copy link
Owner

iandow commented Mar 13, 2018

No description provided.

@metadaddy

This comment has been minimized.

Copy link

metadaddy commented Mar 13, 2018

Hi @iandow - great blog entry on your IoT pipeline! One suggestion: you could have just generated the timestamp right there in the Jython script:

newRecord.value = {'timestamp': int(time.time()), 'metric': key, 'value': record.value[key]}

Also, any particular reason you used the HTTP Client processor rather than the similar destination?

@iandow

This comment has been minimized.

Copy link
Owner

iandow commented Mar 14, 2018

Wow, that works MUCH better! I knew there must be a better way. Thanks! I updated the blog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment