The DynamoDB source connector pulls data from DynamoDB table streams and persists data into Pulsar.
This connector uses the DynamoDB Streams Kinesis Adapter, which uses the Kinesis Consumer Library (KCL) to do the actual consuming of messages. The KCL uses DynamoDB to track state for consumers and requires cloudwatch access to log metrics.
The configuration of the DynamoDB source connector has the following properties.
|InitialPositionInStream||false||LATEST||The position where the connector starts from.|
Below are the available options:
|Date||false||" " (empty string)||If set to |
|String||false||Pulsar IO connector||The name of the KCL application. Must be unique, as it is used to define the table name for the dynamo table used for state tracking. |
By default, the application name is included in the user agent string used to make AWS requests. This can assist with troubleshooting, for example, distinguish requests made by separate connector instances.
|long||false||60000||The frequency of the KCL checkpoint in milliseconds.|
|long||false||3000||The amount of time to delay between requests when the connector encounters a throttling exception from AWS Kinesis in milliseconds.|
|int||false||3||The number of re-attempts when the connector encounters an exception while trying to set a checkpoint.|
|int||false||1000||The maximum number of AWS records that can be buffered inside the connector. |
|String||false||" " (empty string)||The Dynamo end-point URL, which can be found at here.|
|String||false||" " (empty string)||The Cloudwatch end-point URL, which can be found at here.|
|String||false||" " (empty string)||The DynamoDB Streams end-point URL, which can be found at here.|
|String||false||" " (empty string)||The AWS region. |
|String||true||" " (empty string)||The DynamoDB stream arn.|
|String||false||" " (empty string)||The fully-qualified class name of implementation of AwsCredentialProviderPlugin.|
this plugin uses the default AWS provider chain.
For more information, see using the default credential provider chain.
this plugin takes a configuration via the
JSON configuration example
|String||false||" " (empty string)||The JSON parameter to initialize |
Before using the DynamoDB source connector, you need to create a configuration file through one of the following methods.
"applicationName": "My test application",
applicationName: "My test application"