This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-hop-docs.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 0b60f70 Documentation updated to a12e381
0b60f70 is described below
commit 0b60f70c8e8b57b6cae283810a23c9a2b458064a
Author: jenkins <[email protected]>
AuthorDate: Fri Mar 19 08:27:00 2021 +0000
Documentation updated to a12e381
---
.../transforms/azure-event-hubs-listener.adoc | 71 ++++++++++++++++++++++
.../transforms/azure-event-hubs-writer.adoc | 37 +++++++++++
2 files changed, 108 insertions(+)
diff --git
a/hop-user-manual/modules/ROOT/pages/pipeline/transforms/azure-event-hubs-listener.adoc
b/hop-user-manual/modules/ROOT/pages/pipeline/transforms/azure-event-hubs-listener.adoc
new file mode 100644
index 0000000..246a26b
--- /dev/null
+++
b/hop-user-manual/modules/ROOT/pages/pipeline/transforms/azure-event-hubs-listener.adoc
@@ -0,0 +1,71 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+:documentationPath: /pipeline/transforms/
+:language: en_US
+:page-alternativeEditUrl:
https://github.com/apache/incubator-hop/tree/master/plugins/tech/azure/src/main/doc/azure-event-hubs-listener.adoc
+
+= Azure Event Hubs Listener
+
+== Description
+
+This transform listens indefinitely to an Event Hub on the Microsoft Azure
cloud platform.
+
+== Connection options
+
+* Event Hubs namespace: the name of your Event Hubs namespace
+* Event Hubs instance name: the name of the Event Hub, the instance itself.
+* Event Hub connection string: Typically the same as the SAS Key Connection
String
+* SAS Policy key name: the name of the policy in the "Shared Access Policies"
section of the Event Hubs Namespace in the Azure dashboard. This needs to be a
policy with the "Send" claim enabled.
+* SAS Key connection string: You can use the value in the policy labeled
"Connection string–primary key"
+* Batch size: the number of messages (events) to send in one batch with each
call to Azure.
+* Message field: the field containing the message to use as the events. Please
note you can use a transform like JSON Output or "Java Script" to assemble the
message.
+* Consumer Group name: If you didn't create a specific group, just use $Default
+* Storage Container name: the name of your storage container
+* Storage Connection String: the key1 or key2 Connection string from the
Access keys section of your storage account.
+
+== Tuning options
+
+* Batch size: The number of events to get at once from the event hub and to
(optionally) pass to a batching pipeline (see below)
+* Prefetch size: (optional) the number of events to pre-fetch
+
+== Output fields
+
+* Message output field : the name of the output field containing the message
(event)
+* Partition ID field : the name of the output field for the partition ID
+* Offset field name : the name of the output field for the event offset
+* Sequence number field name : the name of the output field for the event
sequence number
+* Host (owner) field name : the name of the output field for the event host
+* Enqueued time field name : the name of the output field for the time the
event was queued.
+
+== Batch processing options
+In order to make sure that all records are processed safely before we
checkpoint the events stream, we need to run all logic we need to run, update
everything we need to update, before we do so. To do this we pass all the rows
we read in one batch to the specified batch pipeline (which will run single
threaded)
+
+* Batch pipeline: the batch pipeline file name
+* pipeline input transform: the name of the "Injector" or "Get records from
Stream" transform to send the events to in the batch pipeline.
+* pipeline output transform: (optional) the name of the transform to read from
in the batch pipeline and to use as output of this Listener transform.
+* Maximum wait time (ms): (optional but highly recommended!) The maximum time
to wait before the batch pipeline is executed despite the fact that you might
not have the specified number of records in the batch. This is useful to
prevent stale records from getting stuck in the batch pipeline input for longer
periods of time when you might not have new events arriving from a hub.
+
+== Important notes
+
+The batch pipeline starts with an Injector transform. It receives the
following fields:
+
+* message (String)
+* partitionId (String)
+* offset (String)
+* sequenceNumber (Integer)
+* host (String)
+* enqueuedTime (Timestamp)
diff --git
a/hop-user-manual/modules/ROOT/pages/pipeline/transforms/azure-event-hubs-writer.adoc
b/hop-user-manual/modules/ROOT/pages/pipeline/transforms/azure-event-hubs-writer.adoc
new file mode 100644
index 0000000..61ddb4f
--- /dev/null
+++
b/hop-user-manual/modules/ROOT/pages/pipeline/transforms/azure-event-hubs-writer.adoc
@@ -0,0 +1,37 @@
+////
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you 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.
+////
+:documentationPath: /pipeline/transforms/
+:language: en_US
+:page-alternativeEditUrl:
https://github.com/apache/incubator-hop/tree/master/plugins/tech/azure/src/main/doc/azure-event-hubs-writer.adoc
+
+= Azure Event Hubs Writer
+
+== Description
+
+This transform allows you to write messages (events) to a streaming service
bus called Event Hubs on the Microsoft Azure cloud platform.
+
+== Options
+
+Here are the important options to fill in to get the transform to work:
+
+* Event Hubs namespace: the name of your Event Hubs namespace
+* Event Hubs instance name: the name of the Event Hub, the instance itself.
+* SAS Policy key name: the name of the policy in the "Shared Access Policies"
section of the Event Hubs Namespace in the Azure dashboard. This needs to be a
policy with the "Send" claim enabled.
+* SAS Key connection string: You can use the value in the policy labeled
"Connection string–primary key"
+* Batch size: the number of messages (events) to send in one batch with each
call to Azure.
+* Message field: the field containing the message to use as the events. Please
note you can use a transform like JSON Output or "Java Script" to assemble the
message.
+