Github user benqiu2016 commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/114#discussion_r126209183
--- Diff: libminifi/include/Site2SiteClientProtocol.h ---
@@ -387,6 +387,15 @@ class DataPacket {
};
+/**
+ * Site2Site Peer
+ */
+ typedef struct Site2SitePeerStatus {
+ std::string host_;
+ int port_;
+ bool isSecure_;
+ } Site2SitePeerStatus;
--- End diff --
yes, there is a flowFileCount, i want to reduce the complexity of looking
at flowFileCount and doing round robin. If we need to use flowFileCount, it
means that we need refresh the peer status periodically and even that, we can
only catch a snapshot of the flowFileCount based on the refreshing interval, it
is not accurate.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---