You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/03/22 13:50:10 UTC
[GitHub] [pulsar] murong00 opened a new pull request #3885: [Issue 3884]
[pulsar-io] Add a Pulsar IO connector for Solr sink
murong00 opened a new pull request #3885: [Issue 3884] [pulsar-io] Add a Pulsar IO connector for Solr sink
URL: https://github.com/apache/pulsar/pull/3885
### Motivation
Fixes #3884
Provides a builtin solr sink Connector, in order to persist pulsar messages to a solr collection in some application cases.
### Modifications
Add a new sub-module in the `pulsar-io` module.
### Verifying this change
This change can be verified as follows:
* deploy the solr sink connector with configuration file containing the following fields:
```
configs:
solrUrl: "localhost:2181"
solrMode: "SolrCloud"
solrCollection: "techproducts"
solrCommitWithinMs: "10"
username: ""
password: ""
```
* deploy an SolrCloud cluster and create the above collection
* send messages in the topic with specified schema declared when deploying the connector
* query solr to check if the messages have been written in the specified collection
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services