Skip to content

Commit

Permalink
Cleanup and add docs for running in development.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcustenborder committed Mar 21, 2016
1 parent 6e03970 commit 7691766
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 691 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
Currently the CloudSolr configuration is the only thing that has been tested.

# CloudSolr Configuration

## Connector configuration
Expand Down Expand Up @@ -107,6 +105,14 @@ solr0.column.mappings.favoriteCount.field=favorite_count
solr0.column.mappings.text.field=text
```

# Running in development

```
mvn clean package
export CLASSPATH="$(find `pwd`/target/kafka-connect-solr-1.0.0-SNAPSHOT-package/share/java/kafka-connect-solr -type f | tr '\n' ':')"
$CONFLUENT_HOME/bin/connect-standalone $CONFLUENT_HOME/etc/schema-registry/connect-avro-standalone.properties httpsolr.properties
```




Expand Down
2 changes: 1 addition & 1 deletion src/assembly/development.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
<outputDirectory>share/java/kafka-connect-jdbc/</outputDirectory>
<outputDirectory>share/java/kafka-connect-solr/</outputDirectory>
</dependencySet>
</dependencySets>
</assembly>
6 changes: 3 additions & 3 deletions src/assembly/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<fileSets>
<fileSet>
<directory>${project.basedir}</directory>
<outputDirectory>share/doc/kafka-connect-jdbc/</outputDirectory>
<outputDirectory>share/doc/kafka-connect-solr/</outputDirectory>
<includes>
<include>README*</include>
<include>LICENSE*</include>
Expand All @@ -21,15 +21,15 @@
</fileSet>
<fileSet>
<directory>${project.basedir}/config</directory>
<outputDirectory>etc/kafka-connect-jdbc</outputDirectory>
<outputDirectory>etc/kafka-connect-solr</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet>
</fileSets>
<dependencySets>
<dependencySet>
<outputDirectory>share/java/kafka-connect-jdbc</outputDirectory>
<outputDirectory>share/java/kafka-connect-solr</outputDirectory>
<useProjectArtifact>true</useProjectArtifact>
<useTransitiveFiltering>true</useTransitiveFiltering>
<excludes>
Expand Down
Loading

0 comments on commit 7691766

Please sign in to comment.