You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by rkarthik29 <gi...@git.apache.org> on 2016/12/21 05:06:01 UTC

[GitHub] nifi-minifi-cpp pull request #31: MiNiFi-168 enable minifi cpp agents to be ...

GitHub user rkarthik29 opened a pull request:

    https://github.com/apache/nifi-minifi-cpp/pull/31

    MiNiFi-168 enable minifi cpp agents to be able to receive flow files

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rkarthik29/nifi-minifi-cpp master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi-minifi-cpp/pull/31.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #31
    
----
commit 14ad33eb196a5a596bc77cfa389df2b3244881b6
Author: Kathik Narayanan <kn...@hortonworks.com>
Date:   2016-12-19T19:18:20Z

    receive flow files

commit b2a514d1d075a97c0aeee98a4d8df9479ffb273c
Author: Kathik Narayanan <kn...@hortonworks.com>
Date:   2016-12-21T04:39:33Z

    removed log warnings and errors

commit d07e00f94fb08a0ddeb8a498e23d5017d3daa07b
Author: Kathik Narayanan <kn...@hortonworks.com>
Date:   2016-12-21T04:52:26Z

    Merge branch 'master' of https://github.com/apache/nifi-minifi-cpp

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] nifi-minifi-cpp issue #31: MiNiFi-168 enable minifi cpp agents to be able to...

Posted by apiri <gi...@git.apache.org>.
Github user apiri commented on the issue:

    https://github.com/apache/nifi-minifi-cpp/pull/31
  
    Looks good.  I was able to start with a fresh install of NiFi and minifi and get it running.  Will merge this in.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] nifi-minifi-cpp issue #31: MiNiFi-168 enable minifi cpp agents to be able to...

Posted by jdye64 <gi...@git.apache.org>.
Github user jdye64 commented on the issue:

    https://github.com/apache/nifi-minifi-cpp/pull/31
  
    @apiri and @rkarthik29  I was able to get this working with this docker container environment. You can use the exact setup I did by running ....
    
    git clone https://github.com/jdye64/minifi-cpp-devenvs.git && cd minifi-cpp-devenvs/int-envs/0.2.0/MINIFI-168 && docker-compose up -d && sleep 45 && open localhost:8080/nifi
    
    This assumes that you have Docker, Docker-compose, and git already installed on your local machine. This will also sleep for 45 seconds and open up the NiFi UI where you can see the activity flowing both ways as well.
    
    Keep in mind the initial download of the images will be quite large so it might require a little patience. Hopefully this helps us all get on the same page with the testing however.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] nifi-minifi-cpp issue #31: MiNiFi-168 enable minifi cpp agents to be able to...

Posted by apiri <gi...@git.apache.org>.
Github user apiri commented on the issue:

    https://github.com/apache/nifi-minifi-cpp/pull/31
  
    reviewing


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] nifi-minifi-cpp issue #31: MiNiFi-168 enable minifi cpp agents to be able to...

Posted by jdye64 <gi...@git.apache.org>.
Github user jdye64 commented on the issue:

    https://github.com/apache/nifi-minifi-cpp/pull/31
  
    Sense this is proving a little tricky to validate I'm going to make a docker compose environment so that we can all be on the same page when testing. Seems like the configuration is a little finicky and if anything the similar container environment might help us track those problems down as well. I will share the link to the containers hopefully here shortly after I validate on my local machine. Also I would like to add some documentation to the scope of this PR since this is something people will be wanting to understand how to do frequently.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] nifi-minifi-cpp issue #31: MiNiFi-168 enable minifi cpp agents to be able to...

Posted by rkarthik29 <gi...@git.apache.org>.
Github user rkarthik29 commented on the issue:

    https://github.com/apache/nifi-minifi-cpp/pull/31
  
    `Flow Controller:
        name: MiNiFi Flow
    
    Processors:
        - name: LogAttribute
          class: org.apache.nifi.processors.standard.LogAttribute
          max concurrent tasks: 1
          scheduling strategy: TIMER_DRIVEN
          scheduling period: 1 sec
          penalization period: 30 sec
          yield period: 1 sec
          run duration nanos: 0
          auto-terminated relationships list:
          Properties:
              Log Level: error
              Log prefix: Zoomba says
              Log Payload: true
    
    Connections:
        - name: Get files from nifi
          source name: 1d850ad3-0159-1000-7ee1-de9577f40ca3
          source relationship name: undefined
          destination name: LogAttribute
          max work queue size: 0
          max work queue data size: 1 MB
          flowfile expiration: 600 sec
        - name: back to nifi
          source name: LogAttribute
          source relationship name: success
          destination name: 1e0c7440-0159-1000-2272-7d0521e5059b
          max work queue size: 0
          max work queue data size: 1 MB
          flowfile expiration: 600 sec
    
    Remote Processing Groups:
        - name: NiFi Flow
          url: http://karthiksinstance:8080/nifi
          timeout: 30 secs
          yield period: 10 sec
          Input Ports:
              - id: 1e0c7440-0159-1000-2272-7d0521e5059b
                name: 1e0c7440-0159-1000-2272-7d0521e5059b
                max concurrent tasks: 1
                Properties:
                    Port: 19001
                    Host Name: karthiksinstance
          Output Ports:
              - id: 1d850ad3-0159-1000-7ee1-de9577f40ca3
                name: 1d850ad3-0159-1000-7ee1-de9577f40ca3
                max concurrent tasks: 1
                Properties:
                    Port: 19001
                    Host Name: karthiksinstance`
    
    this is the config i used. I checked my code base and i have checked in the latest that i build a worked agains. i will try and rerun the test and confirm


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] nifi-minifi-cpp issue #31: MiNiFi-168 enable minifi cpp agents to be able to...

Posted by apiri <gi...@git.apache.org>.
Github user apiri commented on the issue:

    https://github.com/apache/nifi-minifi-cpp/pull/31
  
    @rkarthik29 this does not seem to work in the current environment.  I have created a NiFi flow with an output port.  I can send to it from MiNiFi and pull via another NiFi instance, but this is not working with your PR.  Did you capture all your files on your commit?
    
    Could you specify your configuration if I am overlooking something?
    
    Thanks!


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] nifi-minifi-cpp pull request #31: MiNiFi-168 enable minifi cpp agents to be ...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/nifi-minifi-cpp/pull/31


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---