Kinesis Producer
The Kinesis Producer target writes data to Amazon Kinesis Streams. The target can also send responses to a microservice source when used in a microservice flow. For information about supported versions, see Supported systems and versions.
To write data to an Amazon Kinesis Firehose delivery system, use the Kinesis Firehose target. To write data to Amazon S3, use the Amazon S3 target.
When you configure Kinesis Producer, you specify the Amazon Web Services connection information for your Kinesis cluster and the data format to use. You can also configure any additional Kinesis configuration properties that you require.
When you want the target to send responses to a microservice source within a microservice flow, you specify the type of response to send.
- Writes a maximum of 500 messages and 4.5 MB in a batch.
- Allows a maximum of 50 kb/message. Larger messages are sent to the stage for error handling.
Authentication method
You can configure the Kinesis Producer target to authenticate with Amazon Web Services (AWS) using an instance profile, environment variables, credential process profile, or AWS access keys.
For more information about the authentication methods and details on how to configure each method, see Security in Amazon stages.
Additional Kinesis properties
You can add custom Kinesis configuration properties to the Kinesis Producer target.
When you add a Kinesis configuration property, enter the exact property name and the value. The target does not validate the property names or values.
Send Microservice responses
The Kinesis Producer target can send responses to a microservice source when you use the target in a microservice flow.
- All successfully written records.
- Responses from the target system - For information about the possible responses, see the documentation for the target system.
Data formats
The Kinesis Producer target writes data to Kinesis based on the data format that you select.
The Kinesis Producer target processes data formats as follows:
- Avro
- The stage writes records based on the Avro schema. You can use one of the following methods to specify the location of the Avro schema definition:
- Binary
- The stage writes binary data to a single field in the record.
- Delimited
- The target writes records as delimited data. When you use this data format, the root field must be list or list-map.
- JSON
- The target writes records as JSON data. You can use one of
the following formats:
- Array - Each file includes a single array. In the array, each element is a JSON representation of each record.
- Multiple objects - Each file includes multiple JSON objects. Each object is a JSON representation of a record.
- Protobuf
- Writes one record in a message. Uses the user-defined message type and the definition of the message type in the descriptor file to generate the message.
- SDC Record
- The target writes records in the SDC Record data format.
- Text
- The target writes data from a single text field to the target system. When you configure the stage, you select the field to use.
Configuring a Kinesis Producer target
About this task
Configure a Kinesis Producer target to write data to Amazon Kinesis Streams.