Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue 3884] [pulsar-io] Add a Pulsar IO connector for Solr sink #3885

Merged
merged 3 commits into from Apr 1, 2019

Conversation

murong00
Copy link
Contributor

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

<solr>

<solrcloud>

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: please remove empty lines

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, thanks.

@jiazhai
Copy link
Member

jiazhai commented Mar 27, 2019

run java8 tests

@merlimat merlimat added this to the 2.4.0 milestone Apr 1, 2019
@merlimat merlimat merged commit ef6d8d8 into apache:master Apr 1, 2019
@murong00 murong00 deleted the branch-3885 branch March 8, 2020 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants