Open iandow opened 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?
Wow, that works MUCH better! I knew there must be a better way. Thanks! I updated the blog.
Hi @iandow - great blog entry on your IoT pipeline! One suggestion: you could have just generated the timestamp right there in the Jython script:
Also, any particular reason you used the HTTP Client processor rather than the similar destination?