You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org> on 2010/04/16 19:30:24 UTC

[jira] Created: (QPID-2515) Need to be able to set flow control in Java on a per destination level

Need to be able to set flow control in Java on a per destination level
----------------------------------------------------------------------

                 Key: QPID-2515
                 URL: https://issues.apache.org/jira/browse/QPID-2515
             Project: Qpid
          Issue Type: Bug
            Reporter: Rajith Attapattu
            Assignee: Rajith Attapattu
             Fix For: 0.7


Currently consumer flow control is set at connection level.
It would nice if "capacity"  (in number of messages) could be specified on a per destination basis.
We do not support producer side flow control yet, but when we do this should be easily adapted there as well.

I propose to include capacity as a link property in the new addressing scheme. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2515) Need to be able to set flow control in Java on a per destination level

Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868888#action_12868888 ] 

Rajith Attapattu commented on QPID-2515:
----------------------------------------

Added support for this at rev 945945 in Qpid trunk.
However some issues remain.

I have highlighted them here.
http://apache-qpid-developers.2158895.n2.nabble.com/Destination-based-flow-control-and-it-s-affect-on-session-level-heuristics-td5072386.html#a5072386

> Need to be able to set flow control in Java on a per destination level
> ----------------------------------------------------------------------
>
>                 Key: QPID-2515
>                 URL: https://issues.apache.org/jira/browse/QPID-2515
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: 0.7
>
>
> Currently consumer flow control is set at connection level.
> It would nice if "capacity"  (in number of messages) could be specified on a per destination basis.
> We do not support producer side flow control yet, but when we do this should be easily adapted there as well.
> I propose to include capacity as a link property in the new addressing scheme. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-2515) Need to be able to set flow control in Java on a per destination level

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-2515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869115#action_12869115 ] 

Martin Ritchie commented on QPID-2515:
--------------------------------------

The Java Broker supports PFC on the 0-91/0-9/0-8 branch using queue arguments:
x-qpid-capacity
x-qpid-flow-resume-capacity
See here:
http://qpid.apache.org/use-producer-flow-control.html 

I'm not sure that reusing these values to configure consumer flow control is the right approach. We should be able to configure the two indepenantly.
Once I'm done with the Slow Consumer Detection work I'm scheduled to work on including Producer Flow Control on the 0-10 code path so would be good if we could work together on how these will interact.

> Need to be able to set flow control in Java on a per destination level
> ----------------------------------------------------------------------
>
>                 Key: QPID-2515
>                 URL: https://issues.apache.org/jira/browse/QPID-2515
>             Project: Qpid
>          Issue Type: Bug
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: 0.7
>
>
> Currently consumer flow control is set at connection level.
> It would nice if "capacity"  (in number of messages) could be specified on a per destination basis.
> We do not support producer side flow control yet, but when we do this should be easily adapted there as well.
> I propose to include capacity as a link property in the new addressing scheme. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org