-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
have: niceThis feature is nice to have. It is low priority.This feature is nice to have. It is low priority.meta: ideaAnything in the idea phase. Needs further discussion and consensus before work can begin.Anything in the idea phase. Needs further discussion and consensus before work can begin.needs: approvalNeeds review & approval before work can begin.Needs review & approval before work can begin.needs: requirementsNeeds a a list of requirements before work can be beginNeeds a a list of requirements before work can be begintransform: luaAnything `lua` transform relatedAnything `lua` transform relatedtype: enhancementA value-adding code change that enhances its existing functionality.A value-adding code change that enhances its existing functionality.
Description
Something that would be very powerful would be the ability to dynamically define channels from programmable transforms. This would unblock complex control flow logic. For example:
[transforms.control_flow]
type = "lua"
source = """
if ... then
emit(event, 'lane1')
else
emit(event, 'lane2')
endThis would produce named outputs, similar to the swimlanes transform that could then be connected downstream:
[sinks.first]
inputs = ["control_flow.lane1"]
[sinks.second]
inputs = ["control_flow.lane2"]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
have: niceThis feature is nice to have. It is low priority.This feature is nice to have. It is low priority.meta: ideaAnything in the idea phase. Needs further discussion and consensus before work can begin.Anything in the idea phase. Needs further discussion and consensus before work can begin.needs: approvalNeeds review & approval before work can begin.Needs review & approval before work can begin.needs: requirementsNeeds a a list of requirements before work can be beginNeeds a a list of requirements before work can be begintransform: luaAnything `lua` transform relatedAnything `lua` transform relatedtype: enhancementA value-adding code change that enhances its existing functionality.A value-adding code change that enhances its existing functionality.