Skip to content

Instantly share code, notes, and snippets.

@ereshzealous
Created August 14, 2021 06:59
Show Gist options
  • Save ereshzealous/dd279063a5221cbcef0b5ea29e3f20f8 to your computer and use it in GitHub Desktop.
Save ereshzealous/dd279063a5221cbcef0b5ea29e3f20f8 to your computer and use it in GitHub Desktop.
{
"name": "elastic-sink",
"config": {
"connector.class": "io.confluent.connect.elasticsearch.ElasticsearchSinkConnector",
"tasks.max": "1",
"topics": "users",
"connection.url": "http://elastic:9200",
"transforms": "unwrap,key",
"transforms.unwrap.type": "io.debezium.transforms.ExtractNewRecordState",
"transforms.unwrap.drop.tombstones": "false",
"transforms.key.type": "org.apache.kafka.connect.transforms.ExtractField$Key",
"transforms.key.field": "id",
"key.ignore": "false",
"type.name": "user",
"behavior.on.null.values": "delete"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment