You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/apacheflink.md
+68-50Lines changed: 68 additions & 50 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,29 @@
1
1
---
2
2
title: "Managed Service for Apache Flink"
3
-
linkTitle: "Managed Service for Apache Flink"
4
3
description: >
5
4
Get started with Managed Service for Apache Flink on LocalStack
6
5
tags: ["Ultimate"]
7
6
---
8
7
9
-
{{< callout >}}
8
+
:::note
10
9
This service was formerly known as 'Kinesis Data Analytics for Apache Flink'.
11
-
{{< /callout >}}
10
+
:::
12
11
13
12
## Introduction
14
13
15
14
[Apache Flink](https://flink.apache.org/) is a framework for building applications that process and analyze streaming data.
16
15
[Managed Service for Apache Flink (MSF)](https://docs.aws.amazon.com/managed-flink/latest/java/what-is.html) is an AWS service that provides the underlying infrastructure and a hosted Apache Flink cluster that can run Apache Flink applications.
17
16
18
-
LocalStack lets you to run Flink applications locally and implements several [AWS-compatible API operations]({{< ref "coverage_kinesisanalyticsv2" >}}).
17
+
LocalStack lets you to run Flink applications locally and implements several [AWS-compatible API operations]().
19
18
20
19
A separate Apache Flink cluster is started in [application mode](https://nightlies.apache.org/flink/flink-docs-release-1.20/docs/deployment/overview/#application-mode) for every Managed Flink application created.
21
20
Flink cluster deployment on LocalStack consists of two separate containers for [JobManager](https://nightlies.apache.org/flink/flink-docs-release-1.20/docs/concepts/flink-architecture/#jobmanager) and [TaskManager](https://nightlies.apache.org/flink/flink-docs-release-1.20/docs/concepts/flink-architecture/#taskmanagers).
22
21
23
-
{{< callout "note" >}}
22
+
:::note
24
23
The emulated MSF provider was introduced and made the default in LocalStack v4.1.
25
24
26
25
If you wish to use the older mock provider, you can set `PROVIDER_OVERRIDE_KINESISANALYTICSV2=legacy`.
27
-
{{< /callout >}}
26
+
:::
28
27
29
28
## Getting Started
30
29
@@ -38,16 +37,16 @@ Start the LocalStack container using your preferred method.
38
37
Begin by cloning the AWS sample repository.
39
38
We will use the [S3 Sink](https://github.com/localstack-samples/amazon-managed-service-for-apache-flink-examples/tree/main/java/S3Sink) application in this example.
Enabling CloudWatch Logs integration has a significant performance hit.
191
-
{{< /callout >}}
195
+
:::
192
196
193
197
Configured logging options can be retrieved using [DescribeApplication](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_DescribeApplication.html):
Logs events are reported to CloudWatch every 10 seconds.
214
-
{{< /callout >}}
223
+
:::
215
224
216
225
LocalStack reports both Flink application and Flink framework logs to CloudWatch.
217
226
However, certain extended information such as stack traces may be missing.
@@ -222,13 +231,18 @@ You may obtain this information by execing into the Flink Docker container creat
222
231
You can manage [resource tags](https://docs.aws.amazon.com/managed-flink/latest/java/how-tagging.html) using [TagResource](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_TagResource.html), [UntagResource](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_UntagResource.html) and [ListTagsForResource](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_ListTagsForResource.html).
223
232
Tags can also be specified when creating the Flink application using the [CreateApplication](https://docs.aws.amazon.com/managed-flink/latest/apiv2/API_CreateApplication.html) operation.
0 commit comments