Skip to content
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]: Error when all fields are optional in AVRO #405

Open
2 tasks done
RaulBejaranoSngular opened this issue Aug 21, 2023 · 0 comments
Open
2 tasks done

[Issue]: Error when all fields are optional in AVRO #405

RaulBejaranoSngular opened this issue Aug 21, 2023 · 0 comments
Assignees

Comments

@RaulBejaranoSngular
Copy link
Contributor

What happened?

There is an exception when all fields are optionals. That happens because there is no field marked as shouldProcess. I think the solution is check if all fields are optionals and if so check the last one as shouldProcess.

Schema:

{
  "type": "record",
  "name": "FirstSchemaStreamingPOCTest",
  "namespace": "test",
  "fields": [
    {
      "name": "randomNumber",
      "type": [
        "null",
        "string"
      ],
      "default": null
    },
    {
      "name": "randomCode",
      "type": [
        "null",
        "string"
      ],
      "default": null
    }
  ]
}

Test Plan: Test-Plan.zip

KloadGen Version

5.6.6

Relevant log output

No response

Have you added your JMX Testplan or a replica?

  • I have added a JMX testplan

Have you added your Schema or a replica?

  • I have added the Schema
@RaulBejaranoSngular RaulBejaranoSngular self-assigned this Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant