You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Charles Crain (JIRA)" <ji...@apache.org> on 2018/12/07 20:26:00 UTC
[jira] [Created] (KAFKA-7714) Scala streams API should use Options
in left and outer joins
Charles Crain created KAFKA-7714:
------------------------------------
Summary: Scala streams API should use Options in left and outer joins
Key: KAFKA-7714
URL: https://issues.apache.org/jira/browse/KAFKA-7714
Project: Kafka
Issue Type: Improvement
Components: streams
Affects Versions: 2.1.0, 2.0.1
Reporter: Charles Crain
The Scala streams DSL for left and outer joins should use Options instead of possibly-null parameters to the joiner functions. As currently written, implementers of joiners for Kafka Streams must account for the right side of a left join (or either side of an outer join) being null, which is not idiomatic Scala.
Note to reviewer: I would like to contribute this change myself. What is the policy on breaking API changes? Would it be acceptable to change the left/outer join APIs to accept options? Or would I need to implement parallel versions (naming suggestions if so?).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)