Skip to content
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
Open

Feedback: Creating Data Pipelines for IoT with StreamSets #9

iandow opened this issue Mar 13, 2018 · 2 comments
Labels

Comments

@iandow
Copy link
Owner

@iandow iandow commented Mar 13, 2018

No description provided.

@metadaddy
Copy link

@metadaddy 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
Copy link
Owner Author

@iandow iandow commented Mar 14, 2018

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

@iandow iandow added the feedback label Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants