Ask Your Question
0

problem of using oslo_messaging batch_notification_listener with executor 'evenlet'.

asked 2016-11-14 21:26:55 -0500

zero gravatar image

I am using oslo_messaging to test the batch_notification_listener, I write the simple endpoint.

class Test(object):
   def info(self, messages):
        for i in messages:
            print i

and simple get_server :

listener = oslo_messaging.get_batch_notification_listener(
    transport, targets, endpoints,
    allow_requeue=True,
    batch_size=1,
    batch_timeout=1,
    executor='eventlet )'

I tried several times, when I change the executor to 'blocking' and 'threading' it works fine. but why it is not worked, when I changed it to 'eventlet'. and there is no log, just blocking.

anyone saw the same problem, is it a bug ? I am not sure.

I also have some other code questions, such as, why ceilometer-collector does not use oslo_batch_notification service with ''threading' executor or 'eventlet' executor. I dont know where to ask these questions, on IRC ? it seems no people reply these kind of question. is there some good place to ask these questions? I dont know if I can report some not sure question on launchpad, I think it is better not, since it is only for bugs. I ask these question here for try. :)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-14 22:01:18 -0500

amrith gravatar image

Pose your question on the mailing list or on IRC at #openstack-oslo

edit flag offensive delete link more

Comments

I tried just now, no one answers. :(

zero gravatar imagezero ( 2016-11-15 01:05:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-11-14 21:26:55 -0500

Seen: 41 times

Last updated: Nov 14 '16