[
https://issues.apache.org/jira/browse/KAFKA-12213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286114#comment-17286114
]
Bill Bejeck commented on KAFKA-12213:
-------------------------------------
Hi, [~MonCalamari]. I have an implementation for the ValueJoinerWithKey access,
and I'll push a PR soon. As [~mjsax] pointed out, KIP-149 started before we
had the Scala API, and overloading the `join` method with a `ValueJoiner` and
a `ValueJoinerWithKey` does cause issues with the Scala API. I'm working on
proposed solutions, and I'll send out something on the dev mailing list soon.
But I don't have any plans at the moment to work on key access in the
`Initializer` or `Reducer` parts of KIP-149 so feel free to move ahead with
that part of the KIP-149
Thanks,
Bill Bejeck
> Kafka Streams aggregation Initializer to accept record key
> ----------------------------------------------------------
>
> Key: KAFKA-12213
> URL: https://issues.apache.org/jira/browse/KAFKA-12213
> Project: Kafka
> Issue Type: New Feature
> Components: streams
> Reporter: Piotr Fras
> Assignee: Piotr Fras
> Priority: Minor
> Labels: needs-kip
>
> Sometimes Kafka record key contains useful information for creating a zero
> object in aggregation Initializer. This feature is to add kafka record key to
> Initializer.
> There were two approaches I considered to implement this feature, one
> respecting backwards compatibility for internal and external APIs and the
> other one which is not. I chose the latter one as it was more strait-forward.
> We may want to validate this approach tho.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)