rocketmq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (ROCKETMQ-166) onException callback may capture compressed message body
Date Wed, 10 May 2017 04:04:04 GMT


ASF GitHub Bot commented on ROCKETMQ-166:

Github user lizhanhui commented on the issue:
    @stevenschew Any idea?

> onException callback may capture compressed message body
> --------------------------------------------------------
>                 Key: ROCKETMQ-166
>                 URL:
>             Project: Apache RocketMQ
>          Issue Type: Bug
>          Components: rocketmq-client
>    Affects Versions: 4.0.0-incubating, 4.1.0-incubating
>            Reporter: Zhanhui Li
>            Assignee: Zhanhui Li
>             Fix For: 4.1.0-incubating
> If message body size exceeds specified threshold, client would try to compress the message
> Here there are two issues: 1) current implementation changes message body directly, which
is not a good practice; 2) if asynchronous send method is employed to deliver message, when
onException is invoked, the callback may capture the compressed message body before the finally
block restores it.

This message was sent by Atlassian JIRA

View raw message