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

Matthias J. Sax commented on KAFKA-13641:
-----------------------------------------

I don't have a good intuition atm what a good way forward would be. However, 
(to be frank) I don't consider it a too pressing issue. Furthermore, we did 
accumulate multiple issues in the DSL that are not easy to be fixed, and I 
personally believe that we will need to do a full "redesign" of the DSL and 
ship a DSLv2 at some point – this might be the best opportunity to re-consider 
this question as we won't need to worry about backward compatibility. However, 
there is no timeline for a DSLv2 right now.

> Kafka Streams Scala: Add `Option` to `ValueJoiner` parameters
> -------------------------------------------------------------
>
>                 Key: KAFKA-13641
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13641
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Mohammad Yousuf Minhaj Zia
>            Priority: Minor
>
> Since `ValueJoiner` right parameter in `leftJoins`, `outerJoins` can be 
> nullable, I am wondering if can wrap them around Scala `Option`.
> However, there is also the concern that the left hand side value can be null 
> in the case of tombstone messages, in which the `Option` semantics can be 
> misleading. I still feel this could be a useful feature in reducing the 
> number of `NullPointerExceptions`.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to