Skip to content
This repository has been archived by the owner on Mar 2, 2023. It is now read-only.

Reuse the client, rather than create a new client #76

Open
zhangyuezhong opened this issue Feb 24, 2023 · 0 comments
Open

Reuse the client, rather than create a new client #76

zhangyuezhong opened this issue Feb 24, 2023 · 0 comments

Comments

@zhangyuezhong
Copy link

AmazonKinesisVideoMediaClientBuilder amazonKinesisVideoMediaClientBuilder = AmazonKinesisVideoMediaClientBuilder.standard()

the code at here creates AmazonKinesisVideoMedia client and AmazonKinesisVideo client every time call.

i'm running the code in EC2, how can we re-use these two client, rather than create them every time. the underlying http client will be created as well.

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

No branches or pull requests

1 participant