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

Bug: kafka-specs validate fails on ACLS #35

Closed
gquintana opened this issue Oct 14, 2021 · 0 comments
Closed

Bug: kafka-specs validate fails on ACLS #35

gquintana opened this issue Oct 14, 2021 · 0 comments

Comments

@gquintana
Copy link
Contributor

I run bin/kafka-specs validate --file-path=etc/kafka-specs.yml

java.lang.RuntimeException: Failed to serialize specification into YAML: No serializer found for class io.streamthoughts.kafka.specs.model.V1AccessPermission and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: io.streamthoughts.kafka.specs.model.V1SpecFile["specs"]->io.streamthoughts.kafka.specs.model.V1SpecsObject["security"]->io.streamthoughts.kafka.specs.model.V1SecurityObject["roles"]->java.util.ArrayList[0]->io.streamthoughts.kafka.specs.model.V1AccessRoleObject["permission"])
        at io.streamthoughts.kafka.specs.YAMLClusterSpecWriter.write(YAMLClusterSpecWriter.java:45)
        at io.streamthoughts.kafka.specs.command.validate.ValidateCommand.call(ValidateCommand.java:64)
        at io.streamthoughts.kafka.specs.command.validate.ValidateCommand.call(ValidateCommand.java:32)
        at picocli.CommandLine.executeUserObject(CommandLine.java:1953)
        at picocli.CommandLine.access$1300(CommandLine.java:145)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2352)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2346)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2311)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2179)
        at picocli.CommandLine.execute(CommandLine.java:2078)
        at io.streamthoughts.kafka.specs.KafkaSpecs.main(KafkaSpecs.java:62)

Using kafka-specs 0.5.0

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