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

Error when GetShardIterator by timestamp #94

Open
lisashizhu opened this issue Sep 30, 2019 · 0 comments
Open

Error when GetShardIterator by timestamp #94

lisashizhu opened this issue Sep 30, 2019 · 0 comments

Comments

@lisashizhu
Copy link

lisashizhu commented Sep 30, 2019

When calling GetShardIterator by timestamp, it is struck and times out so that we could not get http response.

Version used:

v3.1.0 --> kinesalite
v2.0 --> .net standard
v3.3.100.80 --> AWSSDK.Kinesis

Reproduce steps

1. Build Docker image

FROM instructure/node:10
MAINTAINER Instructure

ENV DATADIR /var/lib/kinesalite

USER root
RUN mkdir $DATADIR && chown docker:docker $DATADIR
USER docker

RUN npm install [email protected]

EXPOSE 4567
VOLUME $DATADIR

ENTRYPOINT ["/tini", "--", "/usr/src/app/node_modules/kinesalite/cli.js", "--path", "/var/lib/kinesalite"]

2. Deploy and run it in Docker
3. Use kinesis consumer written by .net standard to call Kinesis service. AWS Document:https://docs.aws.amazon.com/sdkfornet/v3/apidocs/
Code reference : https://sachabarbs.wordpress.com/2018/09/17/aws-kinesis/
(please refer Consumer Data Streams API part)
3.1 call DescribeStreamAsync
3.2 call GetShardIteratorAsync with timestamp --> ERROR

Expected result

By the time GetShardIteratorAsync is called with timestamp there is no stream yet in Kinesis service. However it should still return shard iterator without any records inside.

Actual result

When calling GetShardIterator by timestamp, it is struck and times out(after around 1 min,) so we could not get http response.

@lisashizhu lisashizhu changed the title Error when GetShardIteratorAsync by timestamp Error when GetShardIterator by timestamp Sep 30, 2019
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

1 participant