In nifi, under the syslog processor, there is one attribute of Max Number of TCP Connections and the default value is 2. I took a look at the source code: https://github.com/apache/nifi/blob/da6ad4f3bcdeb43783aafa9f8942c5fa2a7da20b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ListenSyslog.java#L300 and I'm trying to figure out what this attribute is really about. Is it the max number of tcp connection that can connect to a single processor simultaneously? So in my 3 node nifi cluster, I have allow maximum 6 tcp connection at the same time on port 5100?
1
votes
1 Answers
3
votes
You are correct that it is the maximum number of TCP connection that can connect so a single ListenSyslog processor simultaneously, on a given host.
So in a 3 node cluster, with one ListenSyslog on the canvas, then each node has one ListenSystlog that can handle 2 simultaneous connections on that node, for a total of 6 across the cluster.
It essentially equates to how many threads are available to read from connections simultaneously.