-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Marco Amador <[email protected]>
- Loading branch information
Showing
12 changed files
with
436 additions
and
7 deletions.
There are no files selected for viewing
141 changes: 141 additions & 0 deletions
141
docs/modules/components/pages/outputs/azure_file_share.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
= azure_file_share | ||
:type: output | ||
:status: beta | ||
:categories: ["Services","Azure"] | ||
|
||
|
||
|
||
//// | ||
THIS FILE IS AUTOGENERATED! | ||
|
||
To make changes, edit the corresponding source file under: | ||
|
||
https://github.com/redpanda-data/connect/tree/main/internal/impl/<provider>. | ||
|
||
And: | ||
|
||
https://github.com/redpanda-data/connect/tree/main/cmd/tools/docs_gen/templates/plugin.adoc.tmpl | ||
//// | ||
// © 2024 Redpanda Data Inc. | ||
component_type_dropdown::[] | ||
Sends message parts as objects to an Azure File Share. Each object is uploaded with the filename specified with the `path` field. | ||
Introduced in version 4.38.0. | ||
```yml | ||
# Config fields, showing default values | ||
output: | ||
label: "" | ||
azure_file_share: | ||
storage_account: "" | ||
storage_access_key: "" | ||
storage_connection_string: "" | ||
storage_sas_token: "" | ||
share_name: foo-share-${!timestamp("2006")} # No default (required) | ||
path: ${!count("files")}-${!timestamp_unix_nano()}.txt | ||
max_in_flight: 64 | ||
``` | ||
In order to have a different path for each object you should use function | ||
interpolations described [here](/docs/configuration/interpolation#bloblang-queries), which are | ||
calculated per message of a batch. | ||
Supports multiple authentication methods but only one of the following is required: | ||
- `storage_connection_string` | ||
- `storage_account` and `storage_access_key` | ||
- `storage_account` and `storage_sas_token` | ||
- `storage_account` to access via [DefaultAzureCredential](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity#DefaultAzureCredential) | ||
If multiple are set then the `storage_connection_string` is given priority. | ||
If the `storage_connection_string` does not contain the `AccountName` parameter, please specify it in the | ||
`storage_account` field. | ||
== Fields | ||
=== `storage_account` | ||
The storage account to access. This field is ignored if `storage_connection_string` is set. | ||
*Type*: `string` | ||
*Default*: `""` | ||
=== `storage_access_key` | ||
The storage account access key. This field is ignored if `storage_connection_string` is set. | ||
*Type*: `string` | ||
*Default*: `""` | ||
=== `storage_connection_string` | ||
A storage account connection string. This field is required if `storage_account` and `storage_access_key` / `storage_sas_token` are not set. | ||
*Type*: `string` | ||
*Default*: `""` | ||
=== `storage_sas_token` | ||
The storage account SAS token. This field is ignored if `storage_connection_string` or `storage_access_key` are set. | ||
*Type*: `string` | ||
*Default*: `""` | ||
=== `share_name` | ||
The file share for uploading the files to. It will be created if it doesn't already exist and the credentials have the necessary permissions. | ||
This field supports xref:configuration:interpolation.adoc#bloblang-queries[interpolation functions]. | ||
*Type*: `string` | ||
```yml | ||
# Examples | ||
share_name: foo-share-${!timestamp("2006")} | ||
``` | ||
=== `path` | ||
The path of each file to upload. | ||
This field supports xref:configuration:interpolation.adoc#bloblang-queries[interpolation functions]. | ||
*Type*: `string` | ||
*Default*: `"${!count(\"files\")}-${!timestamp_unix_nano()}.txt"` | ||
```yml | ||
# Examples | ||
path: foo-${!timestamp_unix_nano()}.json | ||
path: ${!meta("kafka_key")}.json | ||
path: ${!json("doc.namespace")}/${!json("doc.id")}.json | ||
``` | ||
=== `max_in_flight` | ||
The maximum number of messages to have in flight at a given time. Increase this to improve throughput. | ||
*Type*: `int` | ||
*Default*: `64` | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.