Skip to content

SR3 AMQP Data Pump Assistance For Mirroring Directory #1376

Closed Answered by petersilva
MichaelDavisBaskaran asked this question in Q&A
Discussion options

You must be logged in to vote

First problem: It's winter... there isn't much forest fire data available ;-) so this is hard to test.
but fwiw:

The following would be an example of a poll routine that would produce messages that the rest of the sarracenia components can consume so that it works just like hpfx or a datamart.

~/.config/sr3/poll/hotspots


# where to post the notifications 
post_broker  amqp://feeder@localhost  
post_exchange xs_feeder_hotspots

# options
sleep   2m
timeout 60s

callback poll.hotspots_html_page

permCopy  off
pollUrl   http://cwfis.cfs.nrcan.gc.ca/

# where to get the products
path    /downloads/hotspots
accept  .*/2.*[0-9].csv$

reject  .*2017.*
reject  .*a.csv.*

path    /downloads/hotsp…

Replies: 9 comments 28 replies

Comment options

You must be logged in to vote
1 reply
@MichaelDavisBaskaran
Comment options

Comment options

You must be logged in to vote
1 reply
@MichaelDavisBaskaran
Comment options

Comment options

You must be logged in to vote
4 replies
@MichaelDavisBaskaran
Comment options

@petersilva
Comment options

@MichaelDavisBaskaran
Comment options

@petersilva
Comment options

Comment options

You must be logged in to vote
3 replies
@MichaelDavisBaskaran
Comment options

@MichaelDavisBaskaran
Comment options

@petersilva
Comment options

Answer selected by MichaelDavisBaskaran
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@MichaelDavisBaskaran
Comment options

Comment options

You must be logged in to vote
16 replies
@MichaelDavisBaskaran
Comment options

@petersilva
Comment options

@petersilva
Comment options

@MichaelDavisBaskaran
Comment options

@MichaelDavisBaskaran
Comment options

Comment options

You must be logged in to vote
2 replies
@petersilva
Comment options

@MichaelDavisBaskaran
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants