iandow / iandow.github.io

Build a beautiful and simple website in literally minutes. Demo at http://deanattali.com/beautiful-jekyll
MIT License
0 stars 4 forks source link

Feedback: Creating Data Pipelines for IoT with StreamSets #9

Open iandow opened 6 years ago

metadaddy commented 6 years ago

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 commented 6 years ago

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