Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(aws-kinesisanalytics-flink): add support to Flink 1.13 #17019

Merged
merged 7 commits into from
Oct 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-kinesisanalytics-flink/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ import * as logs from '@aws-cdk/aws-logs';

const flinkApp = new flink.Application(this, 'Application', {
code: flink.ApplicationCode.fromBucket(bucket, 'my-app.jar'),
runtime: file.Runtime.FLINK_1_11,
runtime: file.Runtime.FLINK_1_13,
checkpointingEnabled: true, // default is true
checkpointInterval: cdk.Duration.seconds(30), // default is 1 minute
minPauseBetweenCheckpoints: cdk.Duration.seconds(10), // default is 5 seconds
Expand Down
5 changes: 4 additions & 1 deletion packages/@aws-cdk/aws-kinesisanalytics-flink/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export enum MetricsLevel {
* configuration.
*/
export interface PropertyGroups {
readonly [propertyId: string]: {[mapKey: string]: string};
readonly [propertyId: string]: { [mapKey: string]: string };
}

/**
Expand All @@ -53,6 +53,9 @@ export class Runtime {
/** Flink Version 1.11 */
public static readonly FLINK_1_11 = Runtime.of('FLINK-1_11');

/** Flink Version 1.13 */
public static readonly FLINK_1_13 = Runtime.of('FLINK-1_13');

/** Create a new Runtime with with an arbitrary Flink version string */
public static of(value: string) {
return new Runtime(value);
Expand Down