Dpk376 opened a new pull request, #22574: URL: https://github.com/apache/kafka/pull/22574
This PR adds compile-time regression tests for KStream API generic bounds (KAFKA-8035). Each KStream method is tested with both a lambda expression and an anonymous class implementation. If the generic bounds on any method were incorrect, the Java compiler would reject the lambda form — so these tests act as regression guards for future API changes. Methods covered: filter, filterNot, selectKey, map, mapValues (ValueMapper + ValueMapperWithKey), flatMap, flatMapValues (ValueMapper + ValueMapperWithKey), foreach, peek, merge, method references. 26 tests, all passing. JIRA: https://issues.apache.org/jira/browse/KAFKA-8035 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
