Configuration
The configuration of the Solr sink connector has the following properties.Property
| Name | Type | Required | Sensitive | Default | Description |
|---|---|---|---|---|---|
solrUrl | String | true | false | ” ” (empty string) | Example localhost:2181,localhost:2182/chroot Example localhost:8983/solr |
solrMode | String | true | false | SolrCloud | The client mode when interacting with the Solr cluster. Below are the available options: |
solrCollection | String | true | false | ” ” (empty string) | Solr collection name to which records need to be written. |
solrCommitWithinMs | int | false | false | 10 | The time within million seconds for Solr updating commits. |
username | String | false | true | ” ” (empty string) | The username for basic authentication. Note: usename is case-sensitive. |
password | String | false | true | ” ” (empty string) | The password for basic authentication. Note: password is case-sensitive. |
Example
Before using the Solr sink connector, you need to create a configuration file through one of the following methods.-
JSON
-
YAML

































