You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to run the KCL multilang daemon using the properties file and have it read records from a certain point in time. We tried setting initialPositionInStream = AT_TIMESTAMP but then we got the error java.lang.IllegalArgumentException: Invalid InitialPosition: AT_TIMESTAMP. We then tried to set timestampAtInitialPositionInStream = 1617305352 and not set initialPositionInStream to anything. At that point the lease table for all shards pointed to LATEST instead of AT_TIMESTAMP. We were wondering what we're doing wrong to read records from a certain point.
We're using version 2.3.1 of the KCL.
Thank you.
The text was updated successfully, but these errors were encountered:
I saw a member variable, InitialPositionInStreamExtended, which seems to give us what we want in terms of setting AT_TIMESTAMP and the date field. I failed to see see how to specify that variable in the properties file, so I'm proposing this change #804 which parses that key in the properties file as a Long. The change works locally and allowed us to initialize a stream reader from a point in time.
I'm not sure if this is the best way to do it, but would love some feedback or direction on if there's a better alternative.
Hi,
We are trying to run the KCL multilang daemon using the properties file and have it read records from a certain point in time. We tried setting
initialPositionInStream = AT_TIMESTAMP
but then we got the errorjava.lang.IllegalArgumentException: Invalid InitialPosition: AT_TIMESTAMP
. We then tried to settimestampAtInitialPositionInStream = 1617305352
and not setinitialPositionInStream
to anything. At that point the lease table for all shards pointed toLATEST
instead ofAT_TIMESTAMP
. We were wondering what we're doing wrong to read records from a certain point.We're using version 2.3.1 of the KCL.
Thank you.
The text was updated successfully, but these errors were encountered: