From ece3771dbd952d3103755f1b2f836f456cd9fb81 Mon Sep 17 00:00:00 2001 From: Jeremy Custenborder Date: Wed, 7 Sep 2016 16:28:34 -0500 Subject: [PATCH] Cleanup --- pom.xml | 23 ++++++++++--------- src/assembly/development.xml | 17 -------------- .../solr/sink/CloudSolrSinkConnector.java | 14 +++++++++++ .../solr/sink/HttpSolrSinkConnector.java | 6 +++++ 4 files changed, 32 insertions(+), 28 deletions(-) delete mode 100644 src/assembly/development.xml diff --git a/pom.xml b/pom.xml index 8608e58..a98f5b2 100644 --- a/pom.xml +++ b/pom.xml @@ -16,12 +16,14 @@ limitations under the License. --> - + 4.0.0 + + 3.3.0 + + io.confluent kafka-connect-solr jar @@ -52,12 +54,12 @@ - 2.0.1 - 0.9.0.0 + 3.0.0 + 0.10.0.0-cp1 4.12 3.0 1.6.2 - 5.3.1 + 6.2.0 2.4 UTF-8 http://packages.confluent.io/maven/ @@ -127,7 +129,7 @@ org.apache.maven.plugins maven-compiler-plugin - 2.5.1 + 3.5.1 true 1.7 @@ -136,10 +138,9 @@ maven-assembly-plugin - 2.5.3 + 2.6 - src/assembly/development.xml src/assembly/package.xml @@ -156,7 +157,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.18.1 + 2.19.1 -Djava.awt.headless=true @@ -164,7 +165,7 @@ com.mycila license-maven-plugin - 2.11 + 3.0
com/mycila/maven/plugin/license/templates/APACHE-2.txt
diff --git a/src/assembly/development.xml b/src/assembly/development.xml deleted file mode 100644 index 095b498..0000000 --- a/src/assembly/development.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - development - - dir - - false - - - share/java/${project.name}/ - - - diff --git a/src/main/java/io/confluent/connect/solr/sink/CloudSolrSinkConnector.java b/src/main/java/io/confluent/connect/solr/sink/CloudSolrSinkConnector.java index 6d8296a..720ea95 100644 --- a/src/main/java/io/confluent/connect/solr/sink/CloudSolrSinkConnector.java +++ b/src/main/java/io/confluent/connect/solr/sink/CloudSolrSinkConnector.java @@ -1,5 +1,6 @@ package io.confluent.connect.solr.sink; +import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; public class CloudSolrSinkConnector extends SolrSinkConnector { @@ -7,4 +8,17 @@ public class CloudSolrSinkConnector extends SolrSinkConnector { public Class taskClass() { return CloudSolrSinkTask.class; } + + @Override + public ConfigDef config() { + + ConfigDef def = new ConfigDef(); + +// def. + + + + + return null; + } } diff --git a/src/main/java/io/confluent/connect/solr/sink/HttpSolrSinkConnector.java b/src/main/java/io/confluent/connect/solr/sink/HttpSolrSinkConnector.java index 6c60017..980263d 100644 --- a/src/main/java/io/confluent/connect/solr/sink/HttpSolrSinkConnector.java +++ b/src/main/java/io/confluent/connect/solr/sink/HttpSolrSinkConnector.java @@ -1,5 +1,6 @@ package io.confluent.connect.solr.sink; +import org.apache.kafka.common.config.ConfigDef; import org.apache.kafka.connect.connector.Task; public class HttpSolrSinkConnector extends SolrSinkConnector { @@ -7,4 +8,9 @@ public class HttpSolrSinkConnector extends SolrSinkConnector { public Class taskClass() { return HttpSolrSinkTask.class; } + + @Override + public ConfigDef config() { + return null; + } }