This plugin provides integration with the AWS SSM Parameter store service.
TODO: Confluent Hub installation instructions will be added here if/when the plugin is published.
To build the plugin, run:
mvn clean package
NOTE: This will NOT build with a Java 17 SDK; use Java 11. There is currently an incompatibility with the Confluent plugin and Java 17.
The zip file you need to deploy is available under target/components/packages/
.
You can manually extract this zip file which includes all dependencies. All
the dependencies that are required to deploy the plugin are under
target/kafka-connect-target
as well. Make sure that you include all the
dependencies that are required to run the plugin.
- Create a directory under the
plugin.path
on your Connect worker. - Copy all the dependencies under the newly created subdirectory.
- Restart the Connect worker.
This config provider is used to retrieve secrets from the AWS SSM Parameter Store service.
NOTE: Config providers can be used with anything that supports the
AbstractConfig
base class that is shipped with Apache Kafka.
The following configuration options are available:
region
- The AWS region to use. If not specified, the default region will be used.
ttl
- The time to live for the configuration values (in ms). If not specified, the default value of 3600000 ms (1 hour) will be used.
addEnvironmentPrefix
- Whether to add the environment prefix to the parameter name. If not
specified, the default value of
true
will be used.
- Whether to add the environment prefix to the parameter name. If not
specified, the default value of
environment
- An optional environment to be used as a prefix for parameter names. If
addEnvironmentPrefix
isfalse
, this value is ignored.
- An optional environment to be used as a prefix for parameter names. If
NOTE: If you deploy this with the prefix "ssm", then these properties need to be prefixed with "
config.providers.ssm.param.
".