fedora-infra / koschei

Continuous integration for Fedora packages
GNU General Public License v2.0
37 stars 15 forks source link

Port fedmsg plugin to fedora-messaging #283

Closed mizdebsk closed 5 years ago

mizdebsk commented 5 years ago

Fedora infrastructure is replacing fedmsg with a new message bus - fedora-messaging. Koschei functionality related to consuming and emitting fedmsg messages should be ported to use fedora-messaging instead.

mizdebsk commented 5 years ago

I've just tried to get started with fedora-messaging. I started with Pika and tried to come up with some PoC code to listen to messages.

  1. It turns out that Fedora RabbitMQ server is not exposed to the world - access to fedora-messaging requires Fedora VPN. Therefore fedora-messaging won't work for Koschei deployments outsides of Fedora infrastructure.
  2. Moreover, any client that simply wants to listen to messages must be approved first - RabbitMQ listens on TLS ports only and accepts TLS connections with appropriate client certificate.
  3. Currently all other parties that Koschei communicates with over messaging bus are still using fedmsg/ZMQ.

For the above reasons I'm not going to work on this issue for now and I'll keep using fedmsg.