-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6203797
commit ece3771
Showing
4 changed files
with
32 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
src/main/java/io/confluent/connect/solr/sink/CloudSolrSinkConnector.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,24 @@ | ||
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 { | ||
@Override | ||
public Class<? extends Task> taskClass() { | ||
return CloudSolrSinkTask.class; | ||
} | ||
|
||
@Override | ||
public ConfigDef config() { | ||
|
||
ConfigDef def = new ConfigDef(); | ||
|
||
// def. | ||
|
||
|
||
|
||
|
||
return null; | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/java/io/confluent/connect/solr/sink/HttpSolrSinkConnector.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
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 { | ||
@Override | ||
public Class<? extends Task> taskClass() { | ||
return HttpSolrSinkTask.class; | ||
} | ||
|
||
@Override | ||
public ConfigDef config() { | ||
return null; | ||
} | ||
} |