[ 
https://issues.apache.org/jira/browse/KAFKA-15242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17846852#comment-17846852
 ] 

Matej Sprysl commented on KAFKA-15242:
--------------------------------------

Hi Matthias,

did not find the issue you are mentioning, thanks for pointing that out!

The other issue is a subset of this one, not sure if adding a 
`MockFixedKeyProcessorContext` would fully solve 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)

Reply via email to