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

Incomplete hash range found between when use DynamoDB Stream Adapter #758

Closed
xinatcg opened this issue Nov 26, 2020 · 1 comment
Closed

Comments

@xinatcg
Copy link

xinatcg commented Nov 26, 2020

version: 1.14.0

error:

Incomplete hash range found between 

someone other gets the same error: https://stackoverflow.com/questions/64231432/dynamodb-stream-kinesis-incomplete-hash-range-found-between/65029807#65029807

related code:

if (!minHashKeyLease.getHashKeyRange().startingHashKey().equals(MIN_HASH_KEY) ||
!maxHashKeyLease.getHashKeyRange().endingHashKey().equals(MAX_HASH_KEY)) {
LOG.error("Incomplete hash range found between " + minHashKeyLease + " and " + maxHashKeyLease);
return Optional.of(new HashRangeHole(minHashKeyLease.getHashKeyRange(), maxHashKeyLease.getHashKeyRange()));

the table endingHashKey in the dynamodb is 1, so this check equal to MAX_HASH_KEY, so always get this error when check the range.

@ashwing
Copy link
Contributor

ashwing commented Dec 12, 2020

KCL 1.14.X is not compatible to Dynamodb streams adapter. Please reach out to streams adapter owners to check when it will be made compatible.

@ashwing ashwing closed this as completed Dec 12, 2020
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