@Throws(value=PutRecordErrorTypeProvider.class) public class PutRecordOperation extends Object
| Constructor and Description |
|---|
PutRecordOperation() |
| Modifier and Type | Method and Description |
|---|---|
void |
putRecord(KinesisConfiguration config,
KinesisConnection connection,
String streamName,
String partitionKey,
String explicitHashKey,
InputStream data,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream,Void> callback)
Puts a data record into an Amazon Kinesis data stream.
|
@DisplayName(value="Put Record")
@MediaType(value="application/json")
public void putRecord(@Config
KinesisConfiguration config,
@Connection
KinesisConnection connection,
@DisplayName(value="Stream Name")
String streamName,
@Summary(value="The partition key. If not provided, the connector generates a UUID for this value.") @DisplayName(value="Partition Key") @Optional @Placement(tab="Advanced")
String partitionKey,
@Summary(value="Overrides the Amazon Kinesis Data Streams explicitHashKey value, which is normally computed with using MD5 function of the data record partition key.") @DisplayName(value="Explicit Hash Key") @Optional @Placement(tab="Advanced")
String explicitHashKey,
@Summary(value="The content to put in the Amazon Kinesis data stream. This content can be up to 1 MB in size.") @DisplayName(value="Data") @Content
InputStream data,
org.mule.runtime.extension.api.runtime.process.CompletionCallback<InputStream,Void> callback)
config - The configuration object.connection - The connection object.streamName - The stream name.partitionKey - The partition key. If not provided, the connector generates a UUID for this value.explicitHashKey - Overrides the Amazon Kinesis Data Streams explicitHashKey value,
which is normally computed with using MD5 function of the data record partition key.data - The content to put in the Amazon Kinesis data stream. This content can be up to 1 MB in size.callback - The non-blocking IO callback.Copyright © 2025 MuleSoft, Inc.. All rights reserved.