[jira] [Updated] (KAFKA-15143) MockFixedKeyProcessorContext is missing from test-utils
[ https://issues.apache.org/jira/browse/KAFKA-15143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias J. Sax updated KAFKA-15143: Labels: needs-kip (was: ) > MockFixedKeyProcessorContext is missing from test-utils > --- > > Key: KAFKA-15143 > URL: https://issues.apache.org/jira/browse/KAFKA-15143 > Project: Kafka > Issue Type: Bug > Components: streams-test-utils >Affects Versions: 3.5.0 >Reporter: Tomasz Kaszuba >Assignee: Shashwat Pandey >Priority: Major > Labels: needs-kip > > I am trying to test a ContextualFixedKeyProcessor but it is not possible to > call the init method from within a unit test since the MockProcessorContext > doesn't implement > {code:java} > FixedKeyProcessorContext {code} > but only > {code:java} > ProcessorContext > {code} > Shouldn't there also be a *MockFixedKeyProcessorContext* in the test utils? -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (KAFKA-15143) MockFixedKeyProcessorContext is missing from test-utils
[ https://issues.apache.org/jira/browse/KAFKA-15143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tomasz Kaszuba updated KAFKA-15143: --- Summary: MockFixedKeyProcessorContext is missing from test-utils (was: FixedKeyMockProcessorContext is missing from test-utils) > MockFixedKeyProcessorContext is missing from test-utils > --- > > Key: KAFKA-15143 > URL: https://issues.apache.org/jira/browse/KAFKA-15143 > Project: Kafka > Issue Type: Bug > Components: streams-test-utils >Affects Versions: 3.5.0 >Reporter: Tomasz Kaszuba >Priority: Major > > I am trying to test a ContextualFixedKeyProcessor but it is not possible to > call the init method from within a unit test since the MockProcessorContext > doesn't implement > {code:java} > FixedKeyProcessorContext {code} > but only > {code:java} > ProcessorContext > {code} > Shouldn't there also be a *MockFixedKeyProcessorContext* in the test utils? -- This message was sent by Atlassian Jira (v8.20.10#820010)