Created
October 12, 2018 19:48
-
-
Save hpgrahsl/c3e01a838896898ab4e4319b1fcbaa62 to your computer and use it in GitHub Desktop.
simple 1:1 passthrough configuration with insert semantics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "name": "cosmosdb-sink", | |
"config": | |
{ | |
"topics":"blogpost", | |
"connector.class":"at.grahsl.kafka.connect.mongodb.MongoDbSinkConnector", | |
"key.converter":"org.apache.kafka.connect.json.JsonConverter", | |
"key.converter.schemas.enable":false, | |
"value.converter":"org.apache.kafka.connect.json.JsonConverter", | |
"value.converter.schemas.enable":false, | |
"mongodb.connection.uri": "<PUT_YOUR_CONNECTION_STRING_HERE_AND_ADD_DATABASE_NAME>", | |
"mongodb.collection": "blogpost" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment