-
Notifications
You must be signed in to change notification settings - Fork 42
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
[Issue]: Issue with subsequence and defaults in Avro Schema #208
Comments
Thank you for collaborating with the project by giving us feedback!!' You will help us a lot if you can attach an example AVRO and an example Test Plan in order to be able to reproduce the error, if that is the case. Cheers |
Thank you for your collaboration, we will review it and the changes/progress that we are making will inform you here. |
we have detected the problem of the incorrect behavior in the cases of sequences. We will open a pull request for the change to be integrated into the main branch. When said pull request is closed, this issue will be concluded initially. As soon as we have the changes uploaded to the branch and the pull request created by @fcampostato , we will indicate it here. Again thank you very much for your collaboration. |
Thanks! :) |
We've being working on this today and we've uploaded a solution for this. We are still working on it, so it can take a little to be deployed to master. Cheers! |
the pull request associated with this issue was integrated into the main branch, therefore this issue is closed. Again, thank you very much for your collaboration. |
Issue with subsequence and defaults in Avro Schema
Hey,
I found a new strange behavior in an Avro schema.
A minimal example for the Avro schema is attached.
Note that there are two fields
valueWithDefaults
andvalueWithoutDefaults
, where one of them has a default value intype
. If we use this Avro schema in the Value Schema Load Generator Config and use the field typeseq
to send a subsequence (let's say [a,b,c]) the resulting Kafka message reads:a -> b -> c for the case without defaults
However,
seq -> seq -> seq for the case with defaults (see in relevant log output).
I attached the minimal testplan and avro schema.
Again thanks in advance,
Jonas
.jmx and .avsc were not supported 😅
issue.avsc.txt
issue.jmx.txt
KloadGen Version
4.0.4
Relevant log output
Have you added your JMX Testplan or a replica?
Have you added your Schema or a replica?
The text was updated successfully, but these errors were encountered: