This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 2d22a48 Regen pulsar docs and endpoint 2d22a48 is described below commit 2d22a484e382b4b5b99944f731d300eae853edda Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Jul 5 08:52:20 2019 +0200 Regen pulsar docs and endpoint --- components/camel-pulsar/src/main/docs/pulsar-component.adoc | 4 ++-- components/readme.adoc | 2 +- .../camel/builder/endpoint/dsl/PulsarEndpointBuilderFactory.java | 4 ++-- docs/components/modules/ROOT/pages/pulsar-component.adoc | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/components/camel-pulsar/src/main/docs/pulsar-component.adoc b/components/camel-pulsar/src/main/docs/pulsar-component.adoc index e2a8000..ded6ccd 100644 --- a/components/camel-pulsar/src/main/docs/pulsar-component.adoc +++ b/components/camel-pulsar/src/main/docs/pulsar-component.adoc @@ -50,7 +50,7 @@ The Apache Pulsar component supports 4 options, which are listed below. The Apache Pulsar endpoint is configured using URI syntax: ---- -pulsar:persistence://tenant/namespace/topic +pulsar:uri ---- with the following path and query parameters: @@ -61,7 +61,7 @@ with the following path and query parameters: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *topic* | The Topic's full URI path including type, tenant and namespace | | String +| *topicUri* | The Topic's full URI path including type, tenant and namespace | | String |=== diff --git a/components/readme.adoc b/components/readme.adoc index 037831b..ffeaac7 100644 --- a/components/readme.adoc +++ b/components/readme.adoc @@ -23,7 +23,7 @@ Number of Components: 297 in 234 JAR artifacts (0 deprecated) `flink:endpointType` | 2.18 | The flink component can be used to send DataSet jobs to Apache Flink cluster. | link:camel-pulsar/src/main/docs/pulsar-component.adoc[Apache Pulsar] (camel-pulsar) + -`pulsar:persistence://tenant/namespace/topic` | 2.24 | Camel Apache Pulsar Component +`pulsar:uri` | 2.24 | Camel Apache Pulsar Component | link:camel-spark/src/main/docs/spark-component.adoc[Apache Spark] (camel-spark) + `spark:endpointType` | 2.17 | The spark component can be used to send RDD or DataFrame jobs to Apache Spark cluster. diff --git a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/PulsarEndpointBuilderFactory.java b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/PulsarEndpointBuilderFactory.java index 5367f4d..71767d8 100644 --- a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/PulsarEndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/PulsarEndpointBuilderFactory.java @@ -287,8 +287,8 @@ public interface PulsarEndpointBuilderFactory { * The option is a <code>java.lang.String</code> type. * @group producer */ - default PulsarEndpointProducerBuilder topic(String topic) { - setProperty("topic", topic); + default PulsarEndpointProducerBuilder topicUri(String topicUri) { + setProperty("topicUri", topicUri); return this; } /** diff --git a/docs/components/modules/ROOT/pages/pulsar-component.adoc b/docs/components/modules/ROOT/pages/pulsar-component.adoc index e2a8000..ded6ccd 100644 --- a/docs/components/modules/ROOT/pages/pulsar-component.adoc +++ b/docs/components/modules/ROOT/pages/pulsar-component.adoc @@ -50,7 +50,7 @@ The Apache Pulsar component supports 4 options, which are listed below. The Apache Pulsar endpoint is configured using URI syntax: ---- -pulsar:persistence://tenant/namespace/topic +pulsar:uri ---- with the following path and query parameters: @@ -61,7 +61,7 @@ with the following path and query parameters: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *topic* | The Topic's full URI path including type, tenant and namespace | | String +| *topicUri* | The Topic's full URI path including type, tenant and namespace | | String |===