Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

[BUG] Set pulsar event time when it exceed zero. #537

Open
syhily opened this issue Apr 16, 2022 · 1 comment
Open

[BUG] Set pulsar event time when it exceed zero. #537

syhily opened this issue Apr 16, 2022 · 1 comment
Labels

Comments

@syhily
Copy link
Contributor

syhily commented Apr 16, 2022

Describe the bug

A clear and concise description of what the bug is. DynamicPulsarSerializationSchema.java wrongly add even time when it was zero.

if (eventTime != null && eventTime >= 0) {

This is not allowed in Pulsar's TypedMessageBuilderImpl.java.

checkArgument(timestamp > 0, "Invalid timestamp : '%s'", timestamp);
@nikolasten
Copy link

How to workaround this?
Its fixed in latest snapshot, but not in stable release
https://issues.apache.org/jira/browse/FLINK-28506

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants