-
Notifications
You must be signed in to change notification settings - Fork 13k
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
[FLINK-24488][connectors/kafka] KafkaRecordSerializationSchemaBuilder does not forward timestamp #17465
Conversation
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Automated ChecksLast check on commit def7ab0 (Wed Oct 13 15:35:46 UTC 2021) Warnings:
Mention the bot in a comment to re-run the automated checks. Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
@xmarker thanks for your contribution. Overall the changes look good but can you fix the formatting issues? You can run |
Think you for your reminder, I have run spotless and pushed again. |
@flinkbot run azure |
@xmarker can you rebase your changes on the latest master. Some tests seem to fail and I wonder if these instabilities are fixed on the latest master version. |
|
@fapaul I have pushed with rebase , thinks for your review |
@xmarker can you have a look at the failing tests. I checked out your branch at it seems the KafkaSinkITCase is crash looping. It seems something with the timestamp conversion does not properly work. |
dc5bcb8
to
915e5f9
Compare
@fapaul I have debug KafkaSinkITCase on my computer , I found the failure cause was due to SinkWriter.timestamp() is a negative number, when kafka producer serialize the record throws a runtime exception, and then flink task failover repeatedly, now i have fixed it and run KafkaSinkITCase no problem anymore. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix the changes look good. 👍
Can you finally squash all your commits together? It will make merging the PR easier.
…lder does not forward timestamp
@fapaul OK,I squashed commits and pushed again. |
Thank you for your contribution! Could you please create a backport PR for 1.14? |
What is the purpose of the change
Fix KafkaRecordSerializationSchemaBuilder does not forward timestamp issue
Brief change log
Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (no)Documentation