You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Kay Lerch (JIRA)" <ji...@apache.org> on 2016/04/13 23:32:25 UTC

[jira] [Created] (NIFI-1767) AWS IoT processors

Kay Lerch created NIFI-1767:
-------------------------------

             Summary: AWS IoT processors
                 Key: NIFI-1767
                 URL: https://issues.apache.org/jira/browse/NIFI-1767
             Project: Apache NiFi
          Issue Type: New Feature
          Components: Extensions
            Reporter: Kay Lerch


Four new processors to communicate with Amazon’s managed device gateway service AWS IoT.

Use cases
* Consume reported states from a fleet of things managed and secured on Amazon’s gateway service
* Propagate desired states to a fleet of things managed and secured on Amazon’s gateway service
* Intercept M2M communication
* Hybrid IoT solutions: brings together a managed device gateway in the cloud and onpremise data-consumers and -providers.

h4.GetIOTMqtt:
Opens up a connection to an AWS-account-specific websocket endpoint in order to subscribe to any of the MQTT topics belonging to a registered thing in AWS IoT.

h4.PutIOTMqtt
Opens up a connection to an AWS-account-specific websocket endpoint in order to publish messages to any of the MQTT topics belonging to a registered thing in AWS IoT.

h4.GetIOTShadow
In AWS IoT a physical thing is represented with its last reported state by the so-called thing shadow. This processor reads out the current state of a shadow (persisted as JSON) by requesting the managed API of AWS IoT.

h4.PutIOTShadow
In AWS IoT a physical thing is represented with its last reported state by the so-called thing shadow. This processor updates the current state of a shadow (persisted as JSON) by requesting the managed API of AWS IoT. An update to a shadow lets AWS IoT propagate changes to the MQTT topics of the thing.

h5.Known issues:
* It was hard for me to write appropriate integration tests since the MQTT processors work with durable websocket-connections which are kind of tough to test. With your help I would love to do a better job on testing and hand it in later on. All of the processors were tested in a live-scenario which ran over a longer period of time. Didn’t observe any issue.
* I got rid of all the properties for the deprecated AWSCredentialProviderService and only make use of AWSCredentialsProviderService. If both are still necessary for backward-compatibilit sake I would add the deprecated feature.

Refers to Pull Request 349: https://github.com/apache/nifi/pull/349
Additional information: https://github.com/apache/nifi/files/217918/20160413_apache-nifi-aws-iot-pull-request_lerchkay.pdf



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)