-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed the pacakge to my personal namespace. (#1)
- Loading branch information
1 parent
d546e02
commit 99e157d
Showing
9 changed files
with
45 additions
and
127 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!groovy | ||
@Library('jenkins-pipeline') import com.github.jcustenborder.jenkins.pipeline.MavenCentralPipeline | ||
|
||
def pipe = new MavenCentralPipeline() | ||
pipe.execute() |
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,23 +1,22 @@ | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<?xml version="1.0"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>io.confluent.maven</groupId> | ||
<groupId>com.github.jcustenborder.kafka.connect</groupId> | ||
<artifactId>kafka-connect-quickstart</artifactId> | ||
<version>0.10.0.0</version> | ||
<packaging>jar</packaging> | ||
|
||
<version>0.10.1.0-cp1</version> | ||
<name>kafka-connect-archtype</name> | ||
<description>A quickstart for building Kafka Connect connectors.</description> | ||
<url>https://github.com/jcustenborder/kafka-connect-archtype</url> | ||
|
||
<inceptionYear>2017</inceptionYear> | ||
<licenses> | ||
<license> | ||
<name>The Apache License, Version 2.0</name> | ||
<url>https://www.apache.org/licenses/LICENSE-2.0</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
|
||
<developers> | ||
<developer> | ||
<id>jcustenborder</id> | ||
|
@@ -26,72 +25,13 @@ | |
<timezone>America/Chicago</timezone> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
<url>https://github.com/jcustenborder/kafka-connect-archtype</url> | ||
<connection>scm:git:git://github.com/jcustenborder/kafka-connect-archtype.git</connection> | ||
<connection>scm:git:https://github.com/jcustenborder/kafka-connect-archtype.git</connection> | ||
<developerConnection>scm:git:[email protected]:jcustenborder/kafka-connect-archtype.git</developerConnection> | ||
<url>https://github.com/jcustenborder/kafka-connect-archtype</url> | ||
</scm> | ||
|
||
<issueManagement> | ||
<system>github</system> | ||
<url>https://github.com/jcustenborder/kafka-connect-archtype/issues</url> | ||
<system>GitHub Issues</system> | ||
</issueManagement> | ||
<profiles> | ||
<profile> | ||
<id>maven-central</id> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>1.6</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
<configuration> | ||
<keyname>${gpg.keyname}</keyname> | ||
<passphraseServerId>${gpg.keyname}</passphraseServerId> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<version>1.6.7</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<serverId>oss.sonatype.org</serverId> | ||
<nexusUrl>https://oss.sonatype.org/</nexusUrl> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>deploy-to-sonatype</id> | ||
<phase>deploy</phase> | ||
<goals> | ||
<goal>deploy</goal> | ||
<goal>release</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<distributionManagement> | ||
<repository> | ||
<id>oss.sonatype.org</id> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>oss.sonatype.org</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
</profile> | ||
</profiles> | ||
</project> |
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 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 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,23 +1,11 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Copyright (C) 2016 Jeremy Custenborder ([email protected]) | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
mvn clean package | ||
: ${SUSPEND:='n'} | ||
|
||
set -e | ||
|
||
export KAFKA_JMX_OPTS='-Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005' | ||
export CLASSPATH="$(find `pwd`/target/kafka-*-package/share/java/ -type f -name '*.jar' | tr '\n' ':')" | ||
mvn clean package | ||
export KAFKA_JMX_OPTS="-Xdebug -agentlib:jdwp=transport=dt_socket,server=y,suspend=${SUSPEND},address=5005" | ||
export CLASSPATH="$(find target/kafka-connect-target/usr/share/java -type f -name '*.jar' | tr '\n' ':')" | ||
|
||
$CONFLUENT_HOME/bin/connect-standalone connect/connect-avro-docker.properties config/MySinkConnector.properties config/MySourceConnector.properties | ||
connect-standalone config/connect-avro-docker.properties config/MySinkConnector.properties config/MySourceConnector.properties |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
30 changes: 19 additions & 11 deletions
30
src/main/resources/archetype-resources/docker-compose.yml
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,28 +1,36 @@ | ||
version: "2" | ||
services: | ||
zookeeper: | ||
image: confluent/zookeeper | ||
ports: | ||
- "2181:2181" | ||
image: confluentinc/cp-zookeeper:3.1.1-1 | ||
environment: | ||
ZOOKEEPER_CLIENT_PORT: 2181 | ||
zk_id: "1" | ||
network_mode: "host" | ||
kafka: | ||
image: confluent/kafka | ||
depends_on: | ||
hostname: kafka | ||
image: confluentinc/cp-kafka:3.1.1-1 | ||
links: | ||
- zookeeper | ||
ports: | ||
- "9092:9092" | ||
environment: | ||
KAFKA_ZOOKEEPER_CONNECT: "confluent:2181" | ||
network_mode: "host" | ||
KAFKA_ZOOKEEPER_CONNECT: "zookeeper:2181" | ||
KAFKA_ADVERTISED_LISTENERS: "PLAINTEXT://:9092" | ||
schema-registry: | ||
image: confluent/schema-registry | ||
depends_on: | ||
image: confluentinc/cp-schema-registry:3.1.1-1 | ||
links: | ||
- kafka | ||
- zookeeper | ||
ports: | ||
- "8081:8081" | ||
environment: | ||
SR_KAFKASTORE_CONNECTION_URL: "confluent:2181" | ||
SCHEMA_REGISTRY_KAFKASTORE_CONNECTION_URL: "zookeeper:2181" | ||
SCHEMA_REGISTRY_HOST_NAME: schema-registry | ||
splunk: | ||
image: outcoldman/splunk:latest | ||
environment: | ||
SPLUNK_START_ARGS: --accept-license --answer-yes --no-prompt | ||
SPLUNK_CMD_1: http-event-collector create -auth admin:changeme -uri https://localhost:8089 -name myapp | ||
ports: | ||
- 8000:8000 | ||
- 8088:8088 | ||
network_mode: "host" |
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