Will Flux support python UDF?


#1

Will Flux support python UDF? I am starting to use Kapacitor and it is not clear to me if it is a good choice to write all the data analysis logic into a python UDF in order to make easy the migration from TICKscript to Flux. Any advice?


#2

Flux will support UDFs eventually, but we haven’t begun to design that functionality yet. It probably won’t be available for a little while.

However, we don’t recommend UDFs as an upgrade path. Anything in the UDF that can be represented in Flux would be better if it were written in Flux.


#3

Thanks @noahcrowley. Your answer puts mi in mind another question: how can I use machine learning libraries such as tensorflow with kapacitor? Which is the workflow? Do you have your on learning APIs? My questions are valid for both the tickscript and flux.