Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinispan Source Kamelet: Do not use kamelet-reify #576

Merged
merged 5 commits into from
Nov 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/aws-s3-streaming-upload-sink.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ The following table summarizes the configuration options available for the `aws-
| *region {empty}* *| AWS Region| The AWS region to connect to.| string| | `"eu-west-1"`
| *secretKey {empty}* *| Secret Key| The secret key obtained from AWS.| string| |
| autoCreateBucket| Autocreate Bucket| Setting the autocreation of the S3 bucket bucketName.| boolean| `false`|
| batchMessageNumber| Batch Message Number| The number of messages composing a batch in streaming upload mode| int| `10`|
| batchSize| Batch Size| The batch size (in bytes) in streaming upload mode| int| `"1000000"`|
| batchMessageNumber| Batch Message Number| The number of messages composing a batch in streaming upload mode| integer| `10`|
| batchSize| Batch Size| The batch size (in bytes) in streaming upload mode| integer| `"1000000"`|
| namingStrategy| Naming Strategy| The naming strategy to use in streaming upload mode. There are 2 enums and the value can be one of progressive, random| string| `"progressive"`|
| restartingPolicy| Restarting Policy| The restarting policy to use in streaming upload mode. There are 2 enums and the value can be one of override, lastPart| string| `"lastPart"`|
| streamingUploadMode| Streaming Upload Mode| Setting the Streaming Upload Mode| boolean| `true`|
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/azure-storage-queue-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The following table summarizes the configuration options available for the `azur
| *accessKey {empty}* *| Access Key| The Azure Storage Queue access Key.| string| |
| *accountName {empty}* *| Account Name| The Azure Storage Queue account name.| string| |
| *queueName {empty}* *| Queue Name| The Azure Storage Queue container name.| string| |
| maxMessages| Maximum Messages| Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages will be returned. By default it will consider 1 message to be retrieved, the allowed range is 1 to 32 messages.| int| `1`|
| maxMessages| Maximum Messages| Maximum number of messages to get, if there are less messages exist in the queue than requested all the messages will be returned. By default it will consider 1 message to be retrieved, the allowed range is 1 to 32 messages.| integer| `1`|
|===

NOTE: Fields marked with an asterisk ({empty}*) are mandatory.
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/couchbase-sink.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The following table summarizes the configuration options available for the `couc
| *couchbaseHostname {empty}* *| Hostname| The hostname to use| string| |
| *protocol {empty}* *| Protocol| The protocol to use| string| |
| autoStartId| Auto Start Id| Auto Start Id or not| boolean| `true`|
| couchbasePort| Port| The port to use| int| `8091`|
| couchbasePort| Port| The port to use| integer| `8091`|
| password| Password| Password to connect to Couchbase.| string| |
| startingId| Starting Id| The starting id| long| `1`|
| username| Username| Username to connect to Couchbase.| string| |
Expand Down
1 change: 0 additions & 1 deletion docs/modules/ROOT/pages/infinispan-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ NOTE: Fields marked with an asterisk ({empty}*) are mandatory.

At runtime, the `infinispan-source` Kamelet relies upon the presence of the following dependencies:

- mvn:org.apache.camel.k:camel-k-kamelet-reify
- camel:kamelet
- camel:core
- camel:infinispan
Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/throttle-action.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@

*Support Level for this Kamelet is: "Preview"*

The Throttl action allows to ensure that a specific sink does not get overloaded.
The Throttle action allows to ensure that a specific sink does not get overloaded.

== Configuration Options

The following table summarizes the configuration options available for the `throttle-action` Kamelet:
[width="100%",cols="2,^2,3,^2,^2,^3",options="header"]
|===
| Property| Name| Description| Type| Default| Example
| *messages {empty}* *| Messages Number| The number of messages to send in the time period set| int| | `10`
| *messages {empty}* *| Messages Number| The number of messages to send in the time period set| integer| | `10`
| timePeriod| Time Period| Sets the time period during which the maximum request count is valid for, in milliseconds| string| `"1000"`|
|===

Expand Down
6 changes: 4 additions & 2 deletions infinispan-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,15 @@ spec:
description: Specifies the set of event types to register by the consumer.Multiple event can be separated by comma. The possible event types are CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER
type: string
dependencies:
- "mvn:org.apache.camel.k:camel-k-kamelet-reify"
- "camel:kamelet"
- "camel:core"
- "camel:infinispan"
flow:
beans:
- name: local-infinispan
type: "#class:org.apache.camel.component.infinispan.remote.InfinispanRemoteComponent"
from:
uri: "kamelet-reify:infinispan:{{cacheName}}"
uri: "{{local-infinispan}}:{{cacheName}}"
parameters:
hosts: "{{hosts}}"
secure: "{{secure}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,15 @@ spec:
description: Specifies the set of event types to register by the consumer.Multiple event can be separated by comma. The possible event types are CLIENT_CACHE_ENTRY_CREATED, CLIENT_CACHE_ENTRY_MODIFIED, CLIENT_CACHE_ENTRY_REMOVED, CLIENT_CACHE_ENTRY_EXPIRED, CLIENT_CACHE_FAILOVER
type: string
dependencies:
- "mvn:org.apache.camel.k:camel-k-kamelet-reify"
- "camel:kamelet"
- "camel:core"
- "camel:infinispan"
flow:
beans:
- name: local-infinispan
type: "#class:org.apache.camel.component.infinispan.remote.InfinispanRemoteComponent"
from:
uri: "kamelet-reify:infinispan:{{cacheName}}"
uri: "{{local-infinispan}}:{{cacheName}}"
parameters:
hosts: "{{hosts}}"
secure: "{{secure}}"
Expand Down