[
https://issues.apache.org/jira/browse/CAMEL-14021?focusedWorklogId=320527&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-320527
]
ASF GitHub Bot logged work on CAMEL-14021:
------------------------------------------
Author: ASF GitHub Bot
Created on: 30/Sep/19 14:38
Start Date: 30/Sep/19 14:38
Worklog Time Spent: 10m
Work Description: jamesnetherton commented on pull request #3213:
CAMEL-14021: Fix HDFS polling conumer message processing
URL: https://github.com/apache/camel/pull/3213
https://issues.apache.org/jira/browse/CAMEL-14021
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 320527)
Remaining Estimate: 0h
Time Spent: 10m
> HDFS Polling consumer returns incorrect count of processed messages
> --------------------------------------------------------------------
>
> Key: CAMEL-14021
> URL: https://issues.apache.org/jira/browse/CAMEL-14021
> Project: Camel
> Issue Type: Improvement
> Components: camel-hdfs
> Affects Versions: 3.x, 3.0.0.RC2
> Reporter: James Netherton
> Assignee: James Netherton
> Priority: Minor
> Fix For: 3.x, 3.0.0.RC2
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Slight problem encountered with the recent hdfs component refactoring.
> hasMatchingOwner used as a filter in this lambda expression always returns
> false and hence the count of polled messages is always 0. It's simple to
> reproduce by running HdfsConsumerTest.
> I think the revised implementation of
> [hasMatchingOwner|https://github.com/apache/camel/blob/master/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/HdfsConsumer.java#L190-L198]
> is wrong. It should return false when the owner does not match. I think
> that's more in line with the [previous
> implementation|https://github.com/apache/camel/blob/camel-3.0.0-RC1/components/camel-hdfs/src/main/java/org/apache/camel/component/hdfs/HdfsConsumer.java#L128-L136].
--
This message was sent by Atlassian Jira
(v8.3.4#803005)