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)

Reply via email to