greyp9 commented on code in PR #10743:
URL: https://github.com/apache/nifi/pull/10743#discussion_r2677604907


##########
nifi-extension-bundles/nifi-extension-utils/nifi-event-listen/src/main/java/org/apache/nifi/processor/util/listen/event/StandardEvent.java:
##########
@@ -26,11 +26,17 @@
 public class StandardEvent<C extends SelectableChannel> implements Event<C> {
 
     private final String sender;
+    private final String senderPort;
     private final byte[] data;
     private final ChannelResponder<C> responder;
 
     public StandardEvent(final String sender, final byte[] data, final 
ChannelResponder<C> responder) {
+        this(sender, null, data, responder);
+    }
+
+    public StandardEvent(final String sender, final String senderPort, final 
byte[] data, final ChannelResponder<C> responder) {

Review Comment:
   I added a second ctor here so as not to impact ListenUDPRecord.  Not sure if 
we want to propagate the PR there as well.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to