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

Call the Kotlin SDK from Java #433

Closed
1 task done
kggilmer opened this issue Nov 18, 2021 · 4 comments
Closed
1 task done

Call the Kotlin SDK from Java #433

kggilmer opened this issue Nov 18, 2021 · 4 comments
Labels
feature-request A feature should be added or improved. no-auto-closure We do not want this issue to be automatically closed.

Comments

@kggilmer
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue, please leave a comment

Describe the Feature

Support the ability to use the Kotlin SDK (JVM platform) from Java programs.

Is your Feature Request related to a problem?

Currently the Kotlin SDK does not provide a way of calling service operations in a way that is compatible with Java. Additionally, the model type builders, while technically usable, are not simple or obvious to use when coming from a Java builder perspective.

Proposed Solution

Provide a capability in the SDK such that SDK functionality can be used from Java. This may be built-in or as an additional add-on layer.

Describe alternatives you've considered

Due to inherent compatibility issues between Kotlin and Java concurrency, there is not a way of enabling Java interop without updating the codegen on service client interfaces and their implementations.

Additional Context

  • I may be able to implement this feature request
@kggilmer kggilmer added the feature-request A feature should be added or improved. label Nov 18, 2021
@ianbotsf ianbotsf added the no-auto-closure We do not want this issue to be automatically closed. label Jul 11, 2022
@cloudshiftchris
Copy link

Use the AWS Java SDK, which is idiomatic for Java usage. The Kotlin SDK is idiomatic for Kotlin, and includes things that don't exist in Java - DSL builders, coroutines (suspend functions) - why expend effort bridging all those when you can just import the Java SDK.

@aajtodd
Copy link
Contributor

aajtodd commented Jul 31, 2023

This is just a feature request to track/gauge interest. One of the reasons this may be important for people is if they are migrating a large Java codebase to Kotlin. I don't think this would be part of the core SDK IF we offered anything here at all.

@RanVaknin
Copy link
Contributor

Hi @kggilmer ,

This was left open for a few years to gauge interest. Unfortunately there are no additional upvotes. We also suspect that recent changes to the SDK address some of the concerns made here. Therefore we are going to go ahead and close this.

If you need anything else, please consider opening a new issues.

Thanks,
Ran~

@RanVaknin RanVaknin closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2024
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. no-auto-closure We do not want this issue to be automatically closed.
Projects
None yet
Development

No branches or pull requests

5 participants