-
Notifications
You must be signed in to change notification settings - Fork 101
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
Stop using SDK v1 #338
base: master
Are you sure you want to change the base?
Stop using SDK v1 #338
Conversation
When using this library it pulls the AWS SDK v1 because of the dependency declared on STS. But it seems is not actually used. This fixes [issue awslabs#274][1]. [1]: awslabs#274
<!-- Because KCL 2.2.9 works on a different protobuf(2.6.1) than KPL's protobuf(3.x)--> | ||
<!-- excluding this so that KPL's Protobuf version is honored for testing and parsing messages.--> | ||
<!-- This means we are not yet utilizing the integration of GSR Library with KCL yet. --> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>com.google.protobuf</groupId> | ||
<artifactId>protobuf-java</artifactId> | ||
</exclusion> | ||
</exclusions> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not entirely sure this is needed. I copied it from https://github.com/awslabs/aws-glue-schema-registry/blob/master/integration-tests/pom.xml#L85-L93
if (shards.size() > 0) { | ||
shards.get(shards.size() - 1).getShardId(); | ||
shards.get(shards.size() - 1).shardId(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These doesn't seem to do anything. I kept it because it was this way originally.
Is there any chance this will get merged soon @YangSan0622? I think it will also unblock awslabs/amazon-kinesis-client#1163 |
Trying again here, @YangSan0622 or @blacktooth what do you think about merging/releasing this? |
#274
When using this library it pulls the AWS SDK v1 because of the dependency declared on STS. But it seems is not actually used.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.