-
Notifications
You must be signed in to change notification settings - Fork 574
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
test: Support producing kafka records with timestamp. #7372
Comments
cc @tabVersion |
I think we can do this in simulation. In simulation, we read record from test_data file and send it to the kafka producer. So we can
|
After a second thought, I still prefer to do it in normal kafka producer, so that we can test more cases in normal e2e |
After discussion, we don't need to verify the exact kafka timestamp, but use some functions, for example:
cc @ZENOTME This way we don't need to modify current test process. |
Yes, it's a little difficult. We can attach a timestamp to each kafka record, but as far as I know, no tool can support this. We need to use kafka producer api for this.
https://kafka.apache.org/23/javadoc/index.html?org/apache/kafka/clients/producer/KafkaProducer.html
Originally posted by @liurenjie1024 in #7275 (comment)
The text was updated successfully, but these errors were encountered: