Skip to content
Permalink
Browse files
Git/Github Examples: Moved to 0.9.0
  • Loading branch information
oscerd committed Apr 6, 2021
1 parent 59302cd commit b91ec05e47feda9aca436f6b9c19477d29d484bf
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
@@ -24,8 +24,8 @@ Download the connector package tar.gz and extract the content to a directory. In
[source]
----
> cd /home/oscerd/connectors/
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-git-kafka-connector/0.8.0/camel-git-kafka-connector-0.8.0-package.tar.gz
> untar.gz camel-git-kafka-connector-0.8.0-package.tar.gz
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-git-kafka-connector/0.9.0/camel-git-kafka-connector-0.9.0-package.tar.gz
> untar.gz camel-git-kafka-connector-0.9.0-package.tar.gz
----

=== Configuring Kafka Connect
@@ -24,8 +24,8 @@ Download the connector package tar.gz and extract the content to a directory. In
[source]
----
> cd /home/oscerd/connectors/
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-git-kafka-connector/0.8.0/camel-git-kafka-connector-0.8.0-package.tar.gz
> untar.gz camel-git-kafka-connector-0.8.0-package.tar.gz
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-git-kafka-connector/0.9.0/camel-git-kafka-connector-0.9.0-package.tar.gz
> untar.gz camel-git-kafka-connector-0.9.0-package.tar.gz
----

=== Configuring Kafka Connect
@@ -24,8 +24,8 @@ Download the connector package tar.gz and extract the content to a directory. In
[source]
----
> cd /home/oscerd/connectors/
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-git-kafka-connector/0.8.0/camel-git-kafka-connector-0.8.0-package.tar.gz
> untar.gz camel-git-kafka-connector-0.8.0-package.tar.gz
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-git-kafka-connector/0.9.0/camel-git-kafka-connector-0.9.0-package.tar.gz
> untar.gz camel-git-kafka-connector-0.9.0-package.tar.gz
----

=== Configuring Kafka Connect
@@ -30,7 +30,7 @@ and set the `plugin.path` property to your choosen location
You'll need to build your connector starting from an archetype:

```
> mvn archetype:generate -DarchetypeGroupId=org.apache.camel.kafkaconnector.archetypes -DarchetypeArtifactId=camel-kafka-connector-extensible-archetype -DarchetypeVersion=0.8.0
> mvn archetype:generate -DarchetypeGroupId=org.apache.camel.kafkaconnector.archetypes -DarchetypeArtifactId=camel-kafka-connector-extensible-archetype -DarchetypeVersion=0.9.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
@@ -44,34 +44,34 @@ You'll need to build your connector starting from an archetype:
[INFO]
[INFO] --- maven-archetype-plugin:3.1.2:generate (default-cli) @ standalone-pom ---
[INFO] Generating project in Interactive mode
[INFO] Archetype repository not defined. Using the one from [org.apache.camel.kafkaconnector.archetypes:camel-kafka-connector-extensible-archetype:0.8.0] found in catalog remote
[INFO] Archetype repository not defined. Using the one from [org.apache.camel.kafkaconnector.archetypes:camel-kafka-connector-extensible-archetype:0.9.0] found in catalog remote
Define value for property 'groupId': org.apache.camel.kafkaconnector
Define value for property 'artifactId': github-extended
Define value for property 'version' 1.0-SNAPSHOT: : 0.8.0
Define value for property 'version' 1.0-SNAPSHOT: : 0.9.0
Define value for property 'package' org.apache.camel.kafkaconnector: :
Define value for property 'camel-kafka-connector-name': camel-github-kafka-connector
[INFO] Using property: camel-kafka-connector-version = 0.8.0
[INFO] Using property: camel-kafka-connector-version = 0.9.0
Confirm properties configuration:
groupId: org.apache.camel.kafkaconnector
artifactId: github-extended
version: 0.8.0
version: 0.9.0
package: org.apache.camel.kafkaconnector
camel-kafka-connector-name: camel-github-kafka-connector
camel-kafka-connector-version: 0.8.0
camel-kafka-connector-version: 0.9.0
Y: : Y
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: camel-kafka-connector-extensible-archetype:0.8.0
[INFO] Using following parameters for creating project from Archetype: camel-kafka-connector-extensible-archetype:0.9.0
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: org.apache.camel.kafkaconnector
[INFO] Parameter: artifactId, Value: github-extended
[INFO] Parameter: version, Value: 0.8.0
[INFO] Parameter: version, Value: 0.9.0
[INFO] Parameter: package, Value: org.apache.camel.kafkaconnector
[INFO] Parameter: packageInPathFormat, Value: org/apache/camel/kafkaconnector
[INFO] Parameter: package, Value: org.apache.camel.kafkaconnector
[INFO] Parameter: version, Value: 0.8.0
[INFO] Parameter: version, Value: 0.9.0
[INFO] Parameter: groupId, Value: org.apache.camel.kafkaconnector
[INFO] Parameter: camel-kafka-connector-name, Value: camel-github-kafka-connector
[INFO] Parameter: camel-kafka-connector-version, Value: 0.8.0
[INFO] Parameter: camel-kafka-connector-version, Value: 0.9.0
[INFO] Parameter: artifactId, Value: ftps-extended
[INFO] Project created from Archetype in dir: /home/workspace/miscellanea/github-extended
[INFO] ------------------------------------------------------------------------
@@ -153,8 +153,8 @@ In this example we'll use `/home/oscerd/connectors/` as plugin.path, but we'll n

```
> cd /home/oscerd/connectors/
> cp /home/workspace/miscellanea/github-extended/target/github-extended-0.8.0-package.tar.gz .
> untar.gz github-extended-0.8.0-package.tar.gz
> cp /home/workspace/miscellanea/github-extended/target/github-extended-0.9.0-package.tar.gz .
> untar.gz github-extended-0.9.0-package.tar.gz
```

Now we are ready to go.
@@ -26,8 +26,8 @@ Download the connector package tar.gz and extract the content to a directory. In
[source]
----
> cd /home/oscerd/connectors/
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-github-kafka-connector/0.8.0/camel-github-kafka-connector-0.8.0-package.tar.gz
> untar.gz camel-github-kafka-connector-0.8.0-package.tar.gz
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-github-kafka-connector/0.9.0/camel-github-kafka-connector-0.9.0-package.tar.gz
> untar.gz camel-github-kafka-connector-0.9.0-package.tar.gz
----

=== Configuring Kafka Connect

0 comments on commit b91ec05

Please sign in to comment.