Disable producer flow control in ActiveMQ v5.14.3

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Disable producer flow control in ActiveMQ v5.14.3

xabhi
Hi,
I am trying out new ActiveMQ v5.14.3 and observer below producer flow control logs in my setup even though I have disabled producer flow control in the broker config file. Is there something missing in the config file or has anything changed in the new version

Could anyone explain this behavior?

Logs:
[20170102 07:32:58.897 EST (ActiveMQ NIO Worker 2) org.apache.activemq.broker.region.BaseDestination#waitForSpace 693 INFO] - Usage(default:temp:queue://seed.tcaHeartBeat:temp) percentUsage=0%, usage=5368709290, limit=5368709120, percentUsageMinDelta=1%;Parent:Usage(default:temp) percentUsage=100%, usage=5368709290, limit=5368709120, percentUsageMinDelta=1%: Temp Store is Full (0% of 5368709120). Stopping producer (ID:socrates45.nyc-43058-1483064654695-3:1:2:1) to prevent flooding queue://seed.tcaHeartBeat. See http://activemq.apache.org/producer-flow-control.html for more info (blocking for: 2703s)

Config file:
        <amq:destinationPolicy>
            <amq:policyMap>
                <amq:policyEntries>
                    <amq:policyEntry topic=">" producerFlowControl="false"
                        advisoryForFastProducers="true" advisoryForSlowConsumers="false"
                        advisoryWhenFull="true">
                    </amq:policyEntry>
                    <amq:policyEntry queue=">" producerFlowControl="false"
                        advisoryForFastProducers="true" advisoryForSlowConsumers="false"
                        advisoryWhenFull="true">
                    </amq:policyEntry>
                </amq:policyEntries>
            </amq:policyMap>
        </amq:destinationPolicy>


Thanks,
Abhi
Reply | Threaded
Open this post in threaded view
|

Re: Disable producer flow control in ActiveMQ v5.14.3

xabhi
Hi ActiveMQ Devs,

Is this a bug that producer is stopped even if the producer flow control is disabled or is this expected?

Can anyone explain this behavior?

Thanks,
Abhishek
Reply | Threaded
Open this post in threaded view
|

Re: Disable producer flow control in ActiveMQ v5.14.3

Shobhana
Hi Abhishek,

Did you figure out why flow control got triggered even though flow control
was disabled?



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
Reply | Threaded
Open this post in threaded view
|

Re: Disable producer flow control in ActiveMQ v5.14.3

Tim Bain
To apply a PolicyEntry to a temp destination, you need to set
tempQueue="true" or tempTopic="true".

Tim

On Nov 6, 2017 2:22 AM, "Shobhana" <[hidden email]> wrote:

> Hi Abhishek,
>
> Did you figure out why flow control got triggered even though flow control
> was disabled?
>
>
>
> --
> Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-
> f2341805.html
>