It is true that rsyslog has "queues" for all actions.  However by default they don't do anything, so if no queuing is done is it really a queue?  Semantics, nothing more.

It is better to say that all actions support possible queuing, hence there is an object called "a queue" associated with the action regardless of whether or not it actually does anything.

To my way of thinking a "direct mode queue" is a bit of an oxymoron, but as a developer I understand the need and the context.  And technically the documentation as written is correct, the keyword being "you" as in when you (the implementer) define queuing on the actions.

Hope that helps,


On 6/7/20 1:37 PM, rajeshksv wrote:
In queues doc - https://www.rsyslog.com/doc/v8-stable/concepts/queues.html, it says

"There are multiple action queues, one for each configured action. By default, these queues operate in direct (non-queueing) mode"

May be, when doc says

"Failover will *not* work when you define queues on the actions".

It actually means - "when you define non-direct queues on the actions"

(As Direct queues on actions are fine for failover - Since return status is passed back to the producer in case of direct queue. )

Is my understanding correct?


On Sat, Jun 6, 2020 at 8:46 PM John Chivian via rsyslog <[email protected] <mailto:[email protected]>> wrote:

    "Each action didn't specify any queue parameters - which means
    they have
    a default direct queue."

    That statement is not correct.  Actions do not have queues by default.

    If you define a queue on an action, then the action never suspends,
    hence the waterfall of "only when previous suspended" will never
    accomplish the failover.  If an action does not have a queue, and
    cannot
    complete, THEN it will suspend and the next action be attempted.  The
    queue on the ruleset only comes into play if ALL of the actions are
    suspended.

    Regards,


_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to