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

Support for Amazon SQS Extended Client #382

Open
Rajneesh-Testsigma opened this issue Jul 20, 2022 · 3 comments
Open

Support for Amazon SQS Extended Client #382

Rajneesh-Testsigma opened this issue Jul 20, 2022 · 3 comments

Comments

@Rajneesh-Testsigma
Copy link

Can this library support extended client . Since with SQSAsycClient we can use only 256 KB of message ..... I have requirement to process the message of size more that 256 KB which Amazon SQS Extended Client do that can it be supported there ?

@JaidenAshmore
Copy link
Owner

Hey, looking at this repo it looks like the implementation of this only uses the synchronous version of the SqsClient whereas this library is very heavily dependent on the asynchronous SqsAsyncClient interface. So unfortunately we can't just easily dump it in and have it work.

Doing some research, e.g. this issue started my journey, it appears that someone has implemented an SqsAsyncClient for this extended library: https://github.com/Harsha-changejar/amazon-sqs-java-extended-client-lib. It looks to only be a fork and doesn't have a published version in the repository though so I dunno if you would be able to use that.

Ultimately, from this library's perspective, I wouldn't try and support both the async and the non-async version and so the next best step for you would be to try to find (or implement) a SqsAsyncClient implementation that does this extended functionality.

Let me know if that doesn't sound right!

@Rajneesh-Testsigma
Copy link
Author

Thank for response... I had written something sort of like this but still it was helpful.

@JaidenAshmore
Copy link
Owner

Yeah so if you can get that Extended Async client implementation running with your code it shoouuuuld work. If it doesn't let me know and I can dig into it further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants