Generic
All sinks in Firehose requires the following variables to be set
INPUT_SCHEMA_DATA_TYPE
Defines the input message schema.
- Example value:
json - Type:
optional - Default value:
protobuf
KAFKA_RECORD_PARSER_MODE
Decides whether to parse key or message (as per your input proto) from incoming data.
- Example value:
message - Type:
required - Default value
: message
SINK_TYPE
Defines the Firehose sink type.
- Example value:
log - Type:
required
INPUT_SCHEMA_PROTO_CLASS
Defines the fully qualified name of the input proto class.
- Example value:
com.tests.TestMessage - Type:
required
INPUT_SCHEMA_PROTO_TO_COLUMN_MAPPING
Defines the mapping of the Proto fields to header/query fields in JSON format.
- Example value:
{"1":"order_number","2":"event_timestamp","3":"driver_id"} - Type:
optional
METRIC_STATSD_HOST
URL of the StatsD host (Telegraf service)
- Example value:
localhost - Type:
optional - Default value
: localhost