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

Cannot build interface necessary for flink.Application property #3154

Open
1 of 5 tasks
peterwoodworth opened this issue Nov 10, 2021 · 1 comment
Open
1 of 5 tasks
Labels
bug This issue is a bug. effort/small Small work item – less than a day of effort p1

Comments

@peterwoodworth
Copy link
Contributor

🐛 Bug Report

Affected Languages

  • TypeScript or Javascript
  • Python
  • Java
  • .NET (C#, F#, ...)
  • Go

What is the problem?

Following the documentation described in the Flink readme will result in a build failure

        flink.Application(self, 'app', 
            property_groups=flink.PropertyGroups(FlinkApplicationProperties={
                "input_stream_name": "MyName"
            })
        )

There doesn't seem to be any other ways of properly inputting the property here either. Maybe there's something I'm missing?

Error message

TypeError: __init__() got an unexpected keyword argument 'FlinkApplicationProperties'

The interface PropertyGroups is defined in typescript here

Other

This was originally reported and is described in further detail here

@peterwoodworth peterwoodworth added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Nov 10, 2021
@ryparker ryparker added effort/small Small work item – less than a day of effort p1 and removed needs-triage This issue or PR still needs to be triaged. labels Nov 11, 2021
@BlissfulDarkness
Copy link

I can confirm that this affects the Java CDK as well (at least through CDK v1, I haven't tested on CDK v2). This is also documented on StackOverflow with no current answer or workaround (from 10 months ago): https://stackoverflow.com/questions/67878668/aws-cdk-java-api-propertygroups-builder-not-working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. effort/small Small work item – less than a day of effort p1
Projects
None yet
Development

No branches or pull requests

3 participants