Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
fix: default timestamp extractor override is not working #3176
The use of ksql.streams.default.timestamp.extractor when creating a stream/table is not working. The new value is persisted in the command topic, but KSQL always use a default FailOnInvalidTimestamp
This patch fixes KSQL so it honors the new default specified.
To test it, I had to call the REST api instead of the CLI because I couldn't make the CLI to recognize a different timestamp extractor:
I agree with @blueedgenick, this should work from CLI too. The problem with
@hjafarpour I decided to convert the Class values of the stream properties to String values. For some reason, Jackson does not detect the class in the classpath when creating the JSON object. The jar is in the classpath, in fact, the Class is available in the streams properties as
The code is working now. If you're fine with it, then I can merge it later.