Add connect
mode to the socket
source
#2042
Labels
meta: feedback
Anything related to customer/user feedback.
needs: approval
Needs review & approval before work can begin.
needs: more demand
Needs more demand before work can begin, +1 or comment to support.
needs: requirements
Needs a a list of requirements before work can be begin
source: socket
Anything `socket` source related
type: enhancement
A value-adding code change that enhances its existing functionality.
Currently the
socket
source uses the specified socket address (for TCP/UDP) or path (for UDS) to create a socket with such an address and listen for connections on it.However, in some circumstances it might be useful to not listen, but connect to sockets and read data from them.
I propose to add new configuration option, which would take two possible values,
listen
(the current behavior) andconnect
(the new mode). I'm not sure what would be the best name for the new configuration option. It could have beenmode
, butmode
is already used to specify whether the socket is TCP/UDP/UDS.The text was updated successfully, but these errors were encountered: