GitHub user rohts-patil added a comment to the discussion: JSONSchema should
works with generic (parameterized type) POJO/DTO.
@vamsi360 ,
I cloned your fork and built it to version 1.8.3-ppe-9.10.
I still get the errror.
```
Caused by: org.apache.avro.AvroTypeException: Unknown type: T
at
org.apache.avro.specific.SpecificData.createSchema(SpecificData.java:312)
at
org.apache.avro.reflect.ReflectData.createSchema(ReflectData.java:720)
at
org.apache.avro.reflect.ReflectData.createFieldSchema(ReflectData.java:870)
at
org.apache.avro.reflect.ReflectData.createSchema(ReflectData.java:686)
at org.apache.avro.specific.SpecificData$2.load(SpecificData.java:238)
at org.apache.avro.specific.SpecificData$2.load(SpecificData.java:235)
at
avro.shaded.com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568)
at
avro.shaded.com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350)
at
avro.shaded.com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313)
at
avro.shaded.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228)
... 6 more
```
GitHub link:
https://github.com/apache/pulsar/discussions/18849#discussioncomment-4352450
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]