Converting Batch edgetype to Stream in a UDF

kapacitor
#1

Hi Influx Community,

I have this UDF that I’m using on a stream tick script. I want to use the same udf for batch type tick scripts. For each type of tick script, I’m using the AlertNode. I verified that an alert node always generates at most ONE alert. So the question is, how can I convert the batch type to stream and pipe the data to my udf?

Any information or ideas would be helpful.

Thanks!
-Stephen

1 Like