Skip to content

Commit

Permalink
Rst (#7)
Browse files Browse the repository at this point in the history
* Added documentation.

* Changed the version to 0.10.2.1-cp2
  • Loading branch information
jcustenborder authored Jul 18, 2017
1 parent c128d35 commit da2c4ec
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 8 deletions.
42 changes: 42 additions & 0 deletions docs/introduction.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
==============
Solr Connector
==============

The Solr connector provides a high speed mechanism for sending updates to a Solr Index using Kafka Connect.


.. toctree::
:maxdepth: 1
:caption: Source Connectors:
:hidden:
:glob:

sources/*


.. toctree::
:maxdepth: 1
:caption: Sink Connectors:
:hidden:
:glob:

sinks/*


.. toctree::
:maxdepth: 1
:caption: Transformations:
:hidden:
:glob:

transformations/*


.. toctree::
:maxdepth: 0
:caption: Schemas:
:hidden:

schemas


7 changes: 2 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
Copyright © 2016 Jeremy Custenborder (jcustenborder@gmail.com)
Copyright © 2016 Jeremy Custenborder (jcustenborder@gmail.com)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -23,7 +23,7 @@
<parent>
<groupId>com.github.jcustenborder.kafka.connect</groupId>
<artifactId>kafka-connect-parent</artifactId>
<version>0.10.2.0-cp1</version>
<version>0.10.2.1-cp2</version>
</parent>
<artifactId>kafka-connect-solr</artifactId>
<version>0.1-SNAPSHOT</version>
Expand All @@ -41,9 +41,6 @@
</roles>
</developer>
</developers>
<prerequisites>
<maven>3.3.0</maven>
</prerequisites>
<scm>
<connection>scm:git:https://github.com/jcustenborder/kafka-connect-solr.git</connection>
<developerConnection>scm:git:git@github.com:jcustenborder/kafka-connect-solr.git</developerConnection>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;

@Description("This connector is used to connect to [SolrCloud](https://cwiki.apache.org/confluence/display/solr/SolrCloud) " +
@Description("This connector is used to connect to `SolrCloud <https://cwiki.apache.org/confluence/display/solr/SolrCloud>`_ " +
"using the Zookeeper based configuration.")
public class CloudSolrSinkConnector extends SolrSinkConnector {
@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ class HttpSolrSinkConnectorConfig extends SolrSinkConnectorConfig {
public static final String SOLR_THREAD_COUNT_CONFIG = "solr.thread.count";
private static final String SOLR_URL_DOC = "Url to connect to solr with.";
private static final String SOLR_QUEUE_SIZE_DOC = "The number of documents to batch together before sending to Solr. See " +
"[ConcurrentUpdateSolrClient.Builder.withQueueSize(int)](https://lucene.apache.org/solr/6_3_0/solr-solrj/org/apache/solr/client/solrj/impl/ConcurrentUpdateSolrClient.Builder.html#withQueueSize-int-)";
"`ConcurrentUpdateSolrClient.Builder.withQueueSize(int) <https://lucene.apache.org/solr/6_3_0/solr-solrj/org/apache/solr/client/solrj/impl/ConcurrentUpdateSolrClient.Builder.html#withQueueSize-int->`_";
private static final String SOLR_THREAD_COUNT_DOC = "The number of threads used to empty ConcurrentUpdateSolrClients queue. See " +
"[ConcurrentUpdateSolrClient.Builder.withThreadCount(int)](https://lucene.apache.org/solr/6_3_0/solr-solrj/org/apache/solr/client/solrj/impl/ConcurrentUpdateSolrClient.Builder.html#withThreadCount-int-)";
"`ConcurrentUpdateSolrClient.Builder.withThreadCount(int) <https://lucene.apache.org/solr/6_3_0/solr-solrj/org/apache/solr/client/solrj/impl/ConcurrentUpdateSolrClient.Builder.html#withThreadCount-int->`_";


public final String solrUrl;
Expand Down

0 comments on commit da2c4ec

Please sign in to comment.