You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Tao Feng (JIRA)" <ji...@apache.org> on 2015/12/18 22:31:46 UTC

[jira] [Updated] (SAMZA-844) IncomingMessageEnvelope getSize method return "0" even if the message exists

     [ https://issues.apache.org/jira/browse/SAMZA-844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tao Feng updated SAMZA-844:
---------------------------
    Summary: IncomingMessageEnvelope getSize method return "0" even if the message exists  (was: IncomingMessageEnvelope getSize return size "0" if the message exists)

> IncomingMessageEnvelope getSize method return "0" even if the message exists
> ----------------------------------------------------------------------------
>
>                 Key: SAMZA-844
>                 URL: https://issues.apache.org/jira/browse/SAMZA-844
>             Project: Samza
>          Issue Type: Bug
>            Reporter: Tao Feng
>            Priority: Minor
>
> IncomingMessageEnvelope getSize API is introduced in SAMZA-775. When I play around with IncomingMessageEnvelope api, I found that this getSize method will always return 0 even the job has incoming message. The reason is because the size will only be set if user specifies "systems.<systemname>.samza.fetch.threshold.bytes" options(KafkaSystemConsumer.scala). But this seems a bit odd to me as the getSize method should return the message size even user doesn't specify that option.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)