.. function:: newFrameStreamUnixLogger(path [, options])
+ .. versionchanged:: 2.0.0
+ Added ``connectionCount`` option.
+
.. versionchanged:: 1.5.0
Added the optional parameter ``options``.
The following options apply to the settings of the `framestream library
<https://github.com/farsightsec/fstrm>`. Refer to the documentation of that library for the default and
allowed values for these options, as well as their exact descriptions. For all these options, absence or a
- zero value has the effect of using the library-provided default value.
+ zero value has the effect of using the library-provided default value. ``connectionCount`` can be used to open
+ multiple connections to the socket, for potential throughput boost.
* ``bufferHint=0``: unsigned
* ``flushTimeout=0``: unsigned
* ``outputQueueSize=0``: unsigned
* ``queueNotifyThreshold=0``: unsigned
* ``reopenInterval=0``: unsigned
+ * ``connectionCount=1``: unsigned
.. function:: newFrameStreamTcpLogger(address [, options])
+ .. versionchanged:: 2.0.0
+ Added ``connectionCount`` option.
+
.. versionchanged:: 1.5.0
Added the optional parameter ``options``.
The following options apply to the settings of the `framestream library
<https://github.com/farsightsec/fstrm>`. Refer to the documentation of that library for the default and
allowed values for these options, as well as their exact descriptions. For all these options, absence or a
- zero value has the effect of using the library-provided default value.
+ zero value has the effect of using the library-provided default value. ``connectionCount`` can be used to open
+ multiple connections to the socket, for potential throughput boost.
* ``bufferHint=0``: unsigned
* ``flushTimeout=0``: unsigned
* ``outputQueueSize=0``: unsigned
* ``queueNotifyThreshold=0``: unsigned
* ``reopenInterval=0``: unsigned
+ * ``connectionCount=1``: unsigned
.. class:: DnstapMessage
Protobuf Logging Reference
==========================
-.. function:: newRemoteLogger(address [, timeout=2[, maxQueuedEntries=100[, reconnectWaitTime=1]]])
+.. function:: newRemoteLogger(address [, timeout=2[, maxQueuedEntries=100[, reconnectWaitTime=1[, connectionCount=1]]]])
+
+ .. versionchanged:: 2.0.0
+ Added the optional ``connectionCount`` parameter.
Create a Remote Logger object, to use with :func:`RemoteLogAction` and :func:`RemoteLogResponseAction`.
:param int timeout: TCP connect timeout in seconds
:param int maxQueuedEntries: Queue this many messages before dropping new ones (e.g. when the remote listener closes the connection)
:param int reconnectWaitTime: Time in seconds between reconnection attempts
+ :param int connectionCount: Number of connections to open to the socket
.. class:: DNSDistProtoBufMessage