You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ho...@apache.org on 2023/08/08 10:26:22 UTC
[flink-connector-aws] branch main updated: [hotfix][Connectors/Kinesis] Fixed typo in the Kinesis connector documentation
This is an automated email from the ASF dual-hosted git repository.
hong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-connector-aws.git
The following commit(s) were added to refs/heads/main by this push:
new 21c64ce [hotfix][Connectors/Kinesis] Fixed typo in the Kinesis connector documentation
21c64ce is described below
commit 21c64ce38d3a6fd4fd9b4abda416c2de1a926780
Author: MRKKmrkk <96...@qq.com>
AuthorDate: Thu Aug 3 00:46:49 2023 +0800
[hotfix][Connectors/Kinesis] Fixed typo in the Kinesis connector documentation
---
docs/content.zh/docs/connectors/datastream/kinesis.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/content.zh/docs/connectors/datastream/kinesis.md b/docs/content.zh/docs/connectors/datastream/kinesis.md
index 653ece1..d98955f 100644
--- a/docs/content.zh/docs/connectors/datastream/kinesis.md
+++ b/docs/content.zh/docs/connectors/datastream/kinesis.md
@@ -126,7 +126,7 @@ kinesis = env.add_source(FlinkKinesisConsumer("stream-1", SimpleStringSchema(),
{{< /tab >}}
{{< /tabs >}}
-上面是一个使用消费者的简单例子。 消费者使用 `java.util.Properties` 实例配置,配置的健可以在 `AWSConfigConstants` (AWS 特定的参数)
+上面是一个使用消费者的简单例子。 消费者使用 `java.util.Properties` 实例配置,配置的键可以在 `AWSConfigConstants` (AWS 特定的参数)
和 `ConsumerConfigConstants` (Kinesis 消费者参数)。这个例子演示了在 AWS区域 "us-east-1" 消费一个 Kinesis流。AWS 证书使用基本的方法提供:AWS访问密钥
ID和秘密访问密钥直接在配置中提供。数据从 Kinesis流中最新的位置消费(另一个选项是把 `ConsumerConfigConstants.STREAM_INITIAL_POSITION`
设置为 `TRIM_HORIZON` ,让消费者从 Kinesis 流中可能的最早记录开始读取)。