RecordSinkHandler

Description:

Sends fact information to sink based on a provided action (usually created by a rules engine). Action objects executed with this Handler should contain "sendZeroResult" attribute.

Additional Details...

Tags:

rules, rules engine, action, action handler, record, record sink

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Record Sink Servicerecord-sink-serviceController Service API:
RecordSinkService
Implementations: LoggingRecordSink
UDPEventRecordSink
PrometheusRecordSink
DatabaseRecordSink
KafkaRecordSink_2_0
AzureEventHubRecordSink
KafkaRecordSink_1_0
SiteToSiteReportingRecordSink
EmailRecordSink
ScriptedRecordSink
KafkaRecordSink_2_6
RecordSinkServiceLookup
Specifies the Controller Service used to support the SEND event action. If not set SEND events will be ignored.
Enforce Action Typeaction-handler-enforce-typeThe Action Type(s) that should be supported by this handler. If provided any other type an exception will be thrown. This can support a comma delimited list of types (e.g. ALERT,LOG)
Supports Expression Language: true (will be evaluated using variable registry only)
Enforce Levelaction-handler-enforce-type-levelIGNORE
  • IGNORE
  • WARN
  • EXCEPTION
If specific action types are enforced, this setting specifies whether the action should be ignored, a warning should be logged or if an exception is thrown. Default is to ignore the received action.

State management:

This component does not store state.

Restricted:

This component is not restricted.

System Resource Considerations:

None specified.