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

ASF GitHub Bot commented on KAFKA-7492:
---------------------------------------

bbejeck commented on pull request #6285: KAFKA-7492 : Updated javadocs for 
aggregate and reduce methods returning null behavior.
URL: https://github.com/apache/kafka/pull/6285
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Explain `null` handling for reduce and aggregate
> ------------------------------------------------
>
>                 Key: KAFKA-7492
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7492
>             Project: Kafka
>          Issue Type: Improvement
>          Components: documentation, streams
>            Reporter: Matthias J. Sax
>            Priority: Minor
>              Labels: beginner, docs, newbie
>
> We currently don't explain how records with `null` value are handled in 
> reduce and aggregate. In particular, what happens when the users' 
> aggregation/reduce `apply()` implementation returns `null`.
> We should update the JavaDocs accordingly and maybe also update the docs on 
> the web page.
> Cf. 
> https://stackoverflow.com/questions/52692202/what-happens-if-the-aggregator-of-a-kgroupedstream-returns-null



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to