I have a UDF talking to Kapacitor over unix domain socket. My “accepter” is exactly similar to the one explained in “The Server” section of the tutorial here: https://docs.influxdata.com/kapacitor/v0.13/examples/socket_udf/#the-server
Once the server creates the connection I wait for agent.Wait() function to return in a go thread, similar to the tutorial but the socket seems to have been closed and I get “use of closed network connection”
There are no errors in my agent interface implementation, It is interesting that this started to happen after I added some more logic to Point function of Agent interface. According to logs my UDF took about 1sec to process a point. Is that too long?
Let me know if you need more info.
Influx : Enterprise version 1.2.4