On Wed 14 Mar, 2018, 11:22 AM Akanksha Nayak, <akankshanayak2111@gmail.com> wrote:
I am working on fedmsg app to trigger an event(source: https://pagure.io/fedmsg-perceval-plugin)

Write a minimal fedmsg app which can trigger an event (can be anything like tweeting, sending an IRC message, or anything crazy {Remember, sky is the limit!}) using fedmsg.


I am referring to Ralph Bean's tutorials, here are some of the problems I am facing understanding this

1. http://threebean.org/presentations/fedmsg-flock14/#/step-29
topic_filter = 'fedoratagger' -> who is publishing these topics on my local system ?

Please look again. Your consumers can either be using fedmsg.tail_messages(), as mentioned in

http://threebean.org/presentations/fedmsg-flock14/#/step-12

or, use a consumer as a daemon as mentioned in, 

http://threebean.org/presentations/fedmsg-flock14/#/step-12

This is also mentioned in the documentation. 

These messages are not coming in from your local system. This is coming from the bus which Fedora runs.


2. Author is building an app to tweet and nowhere is he using the api

fedmsg.publish(source:http://www.fedmsg.com/en/stable/)

Instead he is using fedmsg.meta, fedmsg.config. There is no video recording or context to understand why he is doing so, any pointers are welcome 

3. Fedmsg is part of a pub-sub infrastructure, so when I am developing/testing where are the endpoints that it is publishing to. It is not very clear from the documentation.

Do not bother about publishing right now. Your immediate aim is to consume. We can work on publishing after you are comfortable with consuming :)


Any links to tutorials, code or docs that can help me understand this better is appreciated.

-Akanksha

_______________________________________________
Outreachy mailing list -- outreachy@lists.fedoraproject.org
To unsubscribe send an email to outreachy-leave@lists.fedoraproject.org