[ https://issues.apache.org/jira/browse/KAFKA-15242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17847562#comment-17847562 ]
Matej Sprysl commented on KAFKA-15242: -------------------------------------- Since `FixedKeyProcessor` and `FixedKeyRecord`, and even `TestRecord` are standalone classes/interfaces, `TestFixedKeyRecord` needs to be implemented as well. Therefore, issue KAFKA-15143 is a subset of this one, because it has no mention of `TestFixedKeyRecord`. The issue should be renamed to cover this one. > FixedKeyProcessor testing is unusable > ------------------------------------- > > Key: KAFKA-15242 > URL: https://issues.apache.org/jira/browse/KAFKA-15242 > Project: Kafka > Issue Type: Bug > Components: streams > Reporter: Zlstibor Veljkovic > Assignee: Alexander Aghili > Priority: Major > > Using mock processor context to get the forwarded message doesn't work. > Also there is not a well documented way for testing FixedKeyProcessors. > Please see the repo at [https://github.com/zveljkovic/kafka-repro] > but most important piece is test file with runtime and compile time errors: > [https://github.com/zveljkovic/kafka-repro/blob/master/src/test/java/com/example/demo/MyFixedKeyProcessorTest.java] > -- This message was sent by Atlassian Jira (v8.20.10#820010)