rondagostino opened a new pull request #9510:
URL: https://github.com/apache/kafka/pull/9510


   Note that I had to remove `"mapKey": true` from `FeatureLevelRecord.json` 
because with it I was seeing this stack trace during the build:
   
   ```
   Exception in thread "main" java.lang.RuntimeException: Exception while 
processing src/main/resources/common/metadata/FeatureLevelRecord.json
           at 
org.apache.kafka.message.MessageGenerator.processDirectories(MessageGenerator.java:233)
           at 
org.apache.kafka.message.MessageGenerator.main(MessageGenerator.java:351)
   Caused by: java.lang.RuntimeException: Cannot set mapKey on top level fields.
           at 
org.apache.kafka.message.MessageDataGenerator.generateClass(MessageDataGenerator.java:87)
           at 
org.apache.kafka.message.MessageDataGenerator.generate(MessageDataGenerator.java:67)
           at 
org.apache.kafka.message.MessageDataGenerator.generateAndWrite(MessageDataGenerator.java:55)
           at 
org.apache.kafka.message.MessageGenerator.processDirectories(MessageGenerator.java:225)
   ``` 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to