Skip to content
Permalink
Browse files
Move examples ot 0.11.5: CQL
  • Loading branch information
oscerd committed Mar 11, 2022
1 parent d8e1a0f commit 253463dc84832a3559888f0e2275d8ed7508d3c7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
@@ -28,8 +28,8 @@ In this example we'll use `/home/oscerd/connectors/`

```
> cd /home/oscerd/connectors/
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-cql-kafka-connector/0.11.0/camel-cql-kafka-connector-0.11.0-package.tar.gz
> untar.gz camel-cql-kafka-connector-0.11.0-package.tar.gz
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-cql-kafka-connector/0.11.5/camel-cql-kafka-connector-0.11.5-package.tar.gz
> untar.gz camel-cql-kafka-connector-0.11.5-package.tar.gz
```

## Setting up Apache Cassandra
@@ -210,8 +210,8 @@ So we need to do something like this:

```
> cd my-connectors/
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-cql-kafka-connector/0.11.0/camel-cql-kafka-connector-0.11.0-package.tar.gz
> untar.gz camel-cql-kafka-connector-0.11.0-package.tar.gz
> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-cql-kafka-connector/0.11.5/camel-cql-kafka-connector-0.11.5-package.tar.gz
> untar.gz camel-cql-kafka-connector-0.11.5-package.tar.gz
```

Now we can start the build
@@ -240,22 +240,22 @@ You should see something like this:
{
"class": "org.apache.camel.kafkaconnector.CamelSinkConnector",
"type": "sink",
"version": "0.11.0"
"version": "0.11.5"
},
{
"class": "org.apache.camel.kafkaconnector.CamelSourceConnector",
"type": "source",
"version": "0.11.0"
"version": "0.11.5"
},
{
"class": "org.apache.camel.kafkaconnector.cql.CamelCqlSinkConnector",
"type": "sink",
"version": "0.11.0"
"version": "0.11.5"
},
{
"class": "org.apache.camel.kafkaconnector.cql.CamelCqlSourceConnector",
"type": "source",
"version": "0.11.0"
"version": "0.11.5"
},
{
"class": "org.apache.kafka.connect.file.FileStreamSinkConnector",
@@ -27,7 +27,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.11.0
> mvn archetype:generate -DarchetypeGroupId=org.apache.camel.kafkaconnector.archetypes -DarchetypeArtifactId=camel-kafka-connector-extensible-archetype -DarchetypeVersion=0.11.5
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
@@ -43,31 +43,31 @@ You'll need to build your connector starting from an archetype:
[INFO] Generating project in Interactive mode
Define value for property 'groupId': org.apache.camel.kafkaconnector.cql.extended
Define value for property 'artifactId': cql-extended
Define value for property 'version' 1.0-SNAPSHOT: : 0.11.0
Define value for property 'version' 1.0-SNAPSHOT: : 0.11.5
Define value for property 'package' org.apache.camel.kafkaconnector.cql.extended: :
Define value for property 'camel-kafka-connector-name': camel-cql-kafka-connector
[INFO] Using property: camel-kafka-connector-version = 0.11.0
[INFO] Using property: camel-kafka-connector-version = 0.11.5
Confirm properties configuration:
groupId: org.apache.camel.kafkaconnector.cql.extended
artifactId: cql-extended
version: 0.11.0
version: 0.11.5
package: org.apache.camel.kafkaconnector.cql.extended
camel-kafka-connector-name: camel-cql-kafka-connector
camel-kafka-connector-version: 0.11.0
camel-kafka-connector-version: 0.11.5
Y: : Y
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: camel-kafka-connector-extensible-archetype:0.11.0
[INFO] Using following parameters for creating project from Archetype: camel-kafka-connector-extensible-archetype:0.11.5
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: org.apache.camel.kafkaconnector.cql.extended
[INFO] Parameter: artifactId, Value: cql-extended
[INFO] Parameter: version, Value: 0.11.0
[INFO] Parameter: version, Value: 0.11.5
[INFO] Parameter: package, Value: org.apache.camel.kafkaconnector.cql.extended
[INFO] Parameter: packageInPathFormat, Value: org/apache/camel/kafkaconnector/cql/extended
[INFO] Parameter: package, Value: org.apache.camel.kafkaconnector.cql.extended
[INFO] Parameter: version, Value: 0.11.0
[INFO] Parameter: version, Value: 0.11.5
[INFO] Parameter: groupId, Value: org.apache.camel.kafkaconnector.cql.extended
[INFO] Parameter: camel-kafka-connector-name, Value: camel-cql-kafka-connector
[INFO] Parameter: camel-kafka-connector-version, Value: 0.11.0
[INFO] Parameter: camel-kafka-connector-version, Value: 0.11.5
[INFO] Parameter: artifactId, Value: cql-extended
[INFO] Project created from Archetype in dir: /home/oscerd/playground/cql-extended
[INFO] ------------------------------------------------------------------------
@@ -124,8 +124,8 @@ In this example we'll use `/home/oscerd/connectors/` as plugin.path, but we'll n

```
> cd /home/oscerd/connectors/
> cp /home/oscerd/playground/cql-extended/target/cql-extended-0.11.0-package.tar.gz .
> untar.gz cql-extended-0.11.0-package.tar.gz
> cp /home/oscerd/playground/cql-extended/target/cql-extended-0.11.5-package.tar.gz .
> untar.gz cql-extended-0.11.5-package.tar.gz
```

and we're now ready to setting up the Cassandra cluster.
@@ -276,7 +276,7 @@ so that each one is in its own subfolder
(alternatively you can download the latest officially released and packaged connectors from maven):

```
> mvn archetype:generate -DarchetypeGroupId=org.apache.camel.kafkaconnector.archetypes -DarchetypeArtifactId=camel-kafka-connector-extensible-archetype -DarchetypeVersion=0.11.0
> mvn archetype:generate -DarchetypeGroupId=org.apache.camel.kafkaconnector.archetypes -DarchetypeArtifactId=camel-kafka-connector-extensible-archetype -DarchetypeVersion=0.11.5
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
@@ -292,31 +292,31 @@ so that each one is in its own subfolder
[INFO] Generating project in Interactive mode
Define value for property 'groupId': org.apache.camel.kafkaconnector.cql.extended
Define value for property 'artifactId': cql-extended
Define value for property 'version' 1.0-SNAPSHOT: : 0.11.0
Define value for property 'version' 1.0-SNAPSHOT: : 0.11.5
Define value for property 'package' org.apache.camel.kafkaconnector.cql.extended: :
Define value for property 'camel-kafka-connector-name': camel-cql-kafka-connector
[INFO] Using property: camel-kafka-connector-version = 0.11.0
[INFO] Using property: camel-kafka-connector-version = 0.11.5
Confirm properties configuration:
groupId: org.apache.camel.kafkaconnector.cql.extended
artifactId: cql-extended
version: 0.11.0
version: 0.11.5
package: org.apache.camel.kafkaconnector.cql.extended
camel-kafka-connector-name: camel-cql-kafka-connector
camel-kafka-connector-version: 0.11.0
camel-kafka-connector-version: 0.11.5
Y: : Y
[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Archetype: camel-kafka-connector-extensible-archetype:0.11.0
[INFO] Using following parameters for creating project from Archetype: camel-kafka-connector-extensible-archetype:0.11.5
[INFO] ----------------------------------------------------------------------------
[INFO] Parameter: groupId, Value: org.apache.camel.kafkaconnector.cql.extended
[INFO] Parameter: artifactId, Value: cql-extended
[INFO] Parameter: version, Value: 0.11.0
[INFO] Parameter: version, Value: 0.11.5
[INFO] Parameter: package, Value: org.apache.camel.kafkaconnector.cql.extended
[INFO] Parameter: packageInPathFormat, Value: org/apache/camel/kafkaconnector/cql/extended
[INFO] Parameter: package, Value: org.apache.camel.kafkaconnector.cql.extended
[INFO] Parameter: version, Value: 0.11.0
[INFO] Parameter: version, Value: 0.11.5
[INFO] Parameter: groupId, Value: org.apache.camel.kafkaconnector.cql.extended
[INFO] Parameter: camel-kafka-connector-name, Value: camel-cql-kafka-connector
[INFO] Parameter: camel-kafka-connector-version, Value: 0.11.0
[INFO] Parameter: camel-kafka-connector-version, Value: 0.11.5
[INFO] Parameter: artifactId, Value: cql-extended
[INFO] Project created from Archetype in dir: /home/oscerd/playground/cql-extended
[INFO] ------------------------------------------------------------------------
@@ -373,8 +373,8 @@ In this example we'll use `/home/oscerd/connectors/` as plugin.path, but we'll n

```
> cd my-connectors/
> cp /home/oscerd/playground/cql-extended/target/cql-extended-0.11.0-package.tar.gz .
> untar.gz cql-extended-0.11.0-package.tar.gz
> cp /home/oscerd/playground/cql-extended/target/cql-extended-0.11.5-package.tar.gz .
> untar.gz cql-extended-0.11.5-package.tar.gz
```

Now we can start the build
@@ -403,22 +403,22 @@ You should see something like this:
{
"class": "org.apache.camel.kafkaconnector.CamelSinkConnector",
"type": "sink",
"version": "0.11.0"
"version": "0.11.5"
},
{
"class": "org.apache.camel.kafkaconnector.CamelSourceConnector",
"type": "source",
"version": "0.11.0"
"version": "0.11.5"
},
{
"class": "org.apache.camel.kafkaconnector.cql.CamelCqlSinkConnector",
"type": "sink",
"version": "0.11.0"
"version": "0.11.5"
},
{
"class": "org.apache.camel.kafkaconnector.cql.CamelCqlSourceConnector",
"type": "source",
"version": "0.11.0"
"version": "0.11.5"
},
{
"class": "org.apache.kafka.connect.file.FileStreamSinkConnector",

0 comments on commit 253463d

Please sign in to comment.