Ok, I've done enough kicking the tires to say that it is possible to get the generic type argument to Serde in most (but not all) cases. It's not a trivial algorithm. I'd estimate it at one day of work. If the current code is sufficient, then I recommend we go with it in this PR and have a follow-up PR for just this feature.
While researching the issue, I found this article that pretty accurately describes what's going on: https://www.javacodegeeks.com/2013/12/advanced-java-generics-retreiving-generic-type-arguments.html [ Full content available at: https://github.com/apache/kafka/pull/5521 ] This message was relayed via gitbox.apache.org for [email protected]
