[
https://issues.apache.org/jira/browse/NIFI-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519818#comment-14519818
]
Bryan Bende commented on NIFI-548:
----------------------------------
[~markap14] Any recommendation on where the logic would be injected to only
produce one FlowFile per datagram?
I suspect something would be changed in the process method of
UDPConsumerCallback. I was thinking you could break out of that while loop when
you hit the end of one datagram, but not sure what the trigger for that is...
is one ByteBuffer = a datagram? If not, maybe this is more complicated than I
was thinking.
> Listen UDP should support generation of a flowfile per datagram
> ---------------------------------------------------------------
>
> Key: NIFI-548
> URL: https://issues.apache.org/jira/browse/NIFI-548
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Extensions
> Reporter: Bryan Bende
> Priority: Minor
>
> Listen UDP presently places udp datagrams into a buffer and then once the
> buffer reaches some trigger size/age it turns that into a flowfile. There
> should be an option to turn each received datagram into a flowfile. This is
> helpful for cases where each datagram is a complete object by itself but that
> isnt necessarily trivially demarcated if it were concatenated with other
> datagrams.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)