[openstack-dev] [oslo_messaging] Limiting the number of retries for kafka driver

Elancheran Subramanian esubramanian at godaddy.com
Wed Feb 15 05:57:21 UTC 2017

Yes, there is a config option for *oslo_messaging_rabbit* 

The problem with Nova and Neutron provide the retry mechanism, there is no 
configuration on nova or neutron, which can be passed onto the 
also_messaging. I will add a patch so that it would pick up from the 
configuration in oslo_messaging itself.  

Thanks & Regards,

On 2/14/17, 9:32 PM, "Ken Giusti" <kgiusti at gmail.com> wrote:

>On Tue, Feb 14, 2017 at 2:52 PM, Elancheran Subramanian
><esubramanian at godaddy.com> wrote:
>> Hello All,
>> This is reg limiting the number of retries for Kafka driver support on 
>> and Neutron.
>> While trying out the oslo messaging notifications support for Kafka on 
>> and Neutron, the Kafka driver doesn’t support limiting the number of 
>> for failed messages. When I checked the code, currently there is no
>> configuration which support that, though the send_notification has retry
>> but it’s not set or passed from component’s (nova or neutron’s)
>> configuration. Is there any configuration which I’m missing? Please let 
>> know.
>You haven't missed anything - the kafka driver doesn't provide a means
>to set a default retry via its configuration.
>The expectation is that the caller (nova/neutron) would provide a
>retry value when constructing a Notifier instance.
>There was such a config option for the rabbitmq driver
>(rabbit_max_retries) but that was removed because it broke
>*something* - can't remember exactly the reason tho, sorry.
>> Thanks in advance,
>> Cheran
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: 
>>OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>Ken Giusti  (kgiusti at gmail.com)
>OpenStack Development Mailing List (not for usage questions)
>Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe

More information about the OpenStack-dev mailing list