Randy Gelhausen created MINIFI-93:
-------------------------------------

             Summary: MiNiFi-cpp does not honor "yield period"
                 Key: MINIFI-93
                 URL: https://issues.apache.org/jira/browse/MINIFI-93
             Project: Apache NiFi MiNiFi
          Issue Type: Bug
          Components: Core Framework
            Reporter: Randy Gelhausen


If the minifi-cpp agent cannot communicate with the specified input port, it 
continuously tries to reconnect, ignoring the specified yield period. See 
example below.

Example--
Remote Processing Groups:
- name: http://monitor.dev:8080/nifi
  url: http://monitor.dev:8080/nifi
  comment: ''
  timeout: 30 sec
  yield period: 10 sec
  Input Ports:
  - id: f25b1117-9c24-4230-a52c-b3c8d9e4d587
    name: MiNiFiInput
    comment: ''
    max concurrent tasks: 1
    use compression: false
    Properties: # Deviates from spec and will later be removed when this is 
autonegotiated
        Port: 1026
        Host Name: monitor.dev

minifi logs continuing forever:
[2016-08-28 18:00:59.178] [minifi log] [error] socket connect failed to 
monitor.dev 1026
[2016-08-28 18:00:59.178] [minifi log] [error] Site2Site peer socket open failed
[2016-08-28 18:00:59.179] [minifi log] [error] socket connect failed to 
monitor.dev 1026
[2016-08-28 18:00:59.180] [minifi log] [error] Site2Site peer socket open failed
[2016-08-28 18:00:59.182] [minifi log] [error] socket connect failed to 
monitor.dev 1026
[2016-08-28 18:00:59.182] [minifi log] [error] Site2Site peer socket open failed
[2016-08-28 18:00:59.184] [minifi log] [error] socket connect failed to 
monitor.dev 1026
[2016-08-28 18:00:59.184] [minifi log] [error] Site2Site peer socket open failed
[2016-08-28 18:00:59.188] [minifi log] [error] socket connect failed to 
monitor.dev 1026
[2016-08-28 18:00:59.188] [minifi log] [error] Site2Site peer socket open failed
[2016-08-28 18:00:59.190] [minifi log] [error] socket connect failed to 
monitor.dev 1026
[2016-08-28 18:00:59.190] [minifi log] [error] Site2Site peer socket open failed
[2016-08-28 18:00:59.192] [minifi log] [error] socket connect failed to 
monitor.dev 1026
[2016-08-28 18:00:59.192] [minifi log] [error] Site2Site peer socket open failed



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

Reply via email to