-
Notifications
You must be signed in to change notification settings - Fork 80
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
startingPosition AT_TIMESTAMP iteratorOption NumberFormatException #93
Comments
Update: Using timestamp instead of iso formatted strings solves the problem. Would be nice to support iso strings as well for readability and compatibility with the options afforded by other kinesis libraries. Will consider adding a PR to address this soon.
|
@adamlbailey - Looking forward to the PR. |
Hi @adamlbailey, I am trying to read the data from Kinesis using
Here is the ERROR message I am receiving I am new to use this kinesis connector and I know the way I am passing value for the starting position is wrong, could you help me how to pass the Thanks in Advance! |
Hi @gopi-t2s, I'm somewhat removed from this work now but if memory serves: You're going to want to construct an object exemplified in my previous comment.. Practically, I did this by writing a helper that described the stream so I could list each shard with the right timestamp Long value. |
Thanks @adamlbailey for your inputs.. |
I ran into this as well @gopi-t2s - were you able to make it work? I was unsure if pyspark was going to be supported for this, |
No @chadlagore, I am still looking for the ways to attain this.. |
I got it working with the upper example from @adamlbailey minimal example in pyspark:
hope this helps @chadlagore @gopi-t2s |
Thank you @nikitira , I will try this.. |
Excellent addition for reading from stream at specific positions per #78
However, I'm having trouble using the "AT_TIMESTAMP" option to read from shards at specific timestamps.
The shardInfo object I'm using is below:
Here is the exception:
The text was updated successfully, but these errors were encountered: