Every input in Streamx is associated with an entry-point
. Consider:
rule "First contact"
when $currentFlight : FlightStatus() from entry-point "flight-control"
...
end
By using the from entry-point
keyword, we specify that FligtStatus fact comes from “flight-control” entry point (input).
Note, that facts used for Amazon Kinesis data must be annotated with
@role(event)
. While facts used for DynamoDB data must not. See fact roles.