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

Avro-maven-plugin can not generate classes from the Status schema #28

Open
Dabz opened this issue Nov 15, 2021 · 0 comments
Open

Avro-maven-plugin can not generate classes from the Status schema #28

Dabz opened this issue Nov 15, 2021 · 0 comments

Comments

@Dabz
Copy link

Dabz commented Nov 15, 2021

When I am building a Kafka Streams application on top of the generated schema, I get compilation issues:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project twitter-streams-sample: Compilation failure: Compilation failure: 
[ERROR] /home/gaspar_d/Projects/oom/twitter-streams-sample/target/generated-sources/com/github/jcustenborder/kafka/connect/twitter/MediaEntity.java:[16,8] class com.github.jcustenborder.kafka.connect.twitter.MediaEntity clashes with package of same name

This is due as there is both a package and a class generated with the name MediaEntity (due to the MediaEntity record and the MediaEntity.Size record).

@Dabz Dabz changed the title Avro-maven-plugin can not be generate classes from the Status schema Avro-maven-plugin can not generate classes from the Status schema Nov 15, 2021
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