[openstack-dev] [neutron][oslo.messaging]
Ihar Hrachyshka
ihrachys at redhat.com
Thu Jul 3 21:32:11 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 03/07/14 19:47, Nader Lahouti wrote:
> Hi All and Ihar,
>
> As part of blueprint oslo-messaging the
> neutron/openstack/common/rpc tree is removed. I was using
> impl_kombu module to process notification from keystone with this
> following code sample: ... from neutron.openstack.common.rpc import
> impl_kombu try: conf = impl_kombu.cfg.CONF topicname =
> self._topic_name exchange = self._exchange_name connection =
> impl_kombu.Connection(conf)
> connection.declare_topic_consumer(topic, self.callback, topic,
> exchange) connection.consume() except Exception:
> connection.close()
>
Why exposing broker specific API into your code? What if notifications
are served by other type of broker (Qpid? ZeroMQ?) I wouldn't expect
to see any references to kombu implementation in any code outside
oslo.messaging.
>
> Can you please let me what needs to be done to replace the above
> code and make it work with current neutron code?
>
>
> Thanks in advance, Nader.
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBCgAGBQJTtcvbAAoJEC5aWaUY1u57mDgH/RoV0LN1yZ4SRFO8/U0V2F6O
NezHOJ310jf4H/1MjH82qztLnS6oMZiUJ+ddEL6U1nPkfOz+FrrF4Im16QQqFaC8
kVAJ7HMZGrWIvy+ZwOJfnY/EXmo5QFMLV2xmxIuD0mHS7PIOpnHjrdPixGafRfnZ
MORZAzto/WiBgiGhHn4WScli+RxyAnKWEM+3SF8CsaKOAZ/Jwa5breJe/OQcF0bU
FYjEAsGpG+FAm5l5NS0AEa1fIVwBxHCkRFzGFxH85KfLjs8vyplUxiAMo7zs6UnD
q2OIrMi6i48Iq1soV410RaZEqDEbYMk20ATqTGnPlHzD+YGPDpO8HDvxkJ2KkIo=
=AcD0
-----END PGP SIGNATURE-----
More information about the OpenStack-dev
mailing list