"connectorName": "redshift-sink",
"kafkaConnectVersion": "2.7.1",
"serviceExecutionRoleArn": "<RoleARN>",
"plugins": [
{
"customPlugin": {
"customPluginArn": "<RoleARN>",
"revision": 1
}
}
],
"capacity": {
"provisionedCapacity": {
"workerCount": 2,
"mcuCount": 1
}
},
"kafkaCluster": {
"apacheKafkaCluster": {
"bootstrapServers": "BOOSTRAP_SERVERS",
"vpc": {
"subnets": [
"SubnetID",
"SubnetID",
"SubnetID"
],
"securityGroups": [
"SecurityGroupID"
]
}
}
},
"kafkaClusterClientAuthentication": {"authenticationType": "IAM"},
"kafkaClusterEncryptionInTransit": {"encryptionType": "TLS"},
"logDelivery": {
"workerLogDelivery": {
"cloudWatchLogs": {
"logGroup": "/aws/msk/connectors/redshiftsink",
"enabled": true
}
}
},
"connectorConfiguration": {
"confluent.topic.bootstrap.servers": "comma seperated list of bootstrap servers",
"confluent.topic.replication.factor": "1",
"connector.class": "io.confluent.connect.aws.redshift.RedshiftSinkConnector",
"tasks.max": "2",
"topics": "topic_name",
"aws.redshift.domain": "domain",
"aws.redshift.port": "5439",
"aws.redshift.database": "table_name",
"aws.redshift.user": "${secretManager:<SECRET>}",
"aws.redshift.password": "${secretManager:SECRET}",
"key.converter.schemaAutoRegistrationEnabled":"true",
"value.converter.schemaAutoRegistrationEnabled":"true",
"key.converter.endpoint":"[https://glue.us-east-1.amazonaws.com](https://glue.us-east-1.amazonaws.com)",
"value.converter.endpoint":"[https://glue.us-east-1.amazonaws.com](https://glue.us-east-1.amazonaws.com)",
"key.converter.dataFormat":"JSON",
"value.converter.dataFormat":"JSON",
"key.converter":"com.amazonaws.services.schemaregistry.kafkaconnect.jsonschema.JsonSchemaConverter",
"value.converter":"com.amazonaws.services.schemaregistry.kafkaconnect.jsonschema.JsonSchemaConverter",
"key.converter.region":"us-east-1",
"value.converter.region":"us-east-1",
"key.converter.schemaName":"schema_name",
"value.converter.schemaName":"schema_name",
"key.converter.schemas.enable":"true",
"value.converter.schemas.enable":"true",
"key.converter.registry.name":"registry_name",
"value.converter.registry.name":"registry_name",
"pk.mode": "kafka",
"auto.create": "true",
"confluent.topic.security.protocol": "SASL_SSL",
"confluent.topic.sasl.mechanism": "AWS_MSK_IAM",
"confluent.topic.sasl.jaas.config":"software.amazon.msk.auth.iam.IAMLoginModule required;",
"confluent.topic.sasl.client.callback.handler.class": "software.amazon.msk.auth.iam.IAMClientCallbackHandler"
},
"workerConfiguration": {
"workerConfigurationArn": "SECRETSTOREARN",
"revision": 1
}
}```