Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fluent-plugin-rabbitmq-pbk

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-plugin-rabbitmq-pbk

  • 0.1.3
  • Rubygems
  • Socket score

Version published
Maintainers
2
Created
Source

fluent-plugin-rabbitmq

Overview

This repository includes input/output plugins for RabbitMQ.

Requirements

fluentd >= 0.14.0

Installation

$ fluent-gem install fluent-plugin-rabbitmq

Testing

$ rabbitmq-server
$ rake test

Configuration

Input

<source>
  @type rabbitmq
  tag foo
  host 127.0.0.1
  # or hosts ["192.168.1.1", "192.168.1.2"]
  user guest
  pass guest
  vhost /
  exchange foo # not required. if specified, the queue will be bound to the exchange
  queue bar
  routing_key hoge # if not specified, the tag is used
  heartbeat 10 # integer as seconds or :server (interval specified by server)
  <parse>
    @type json # or msgpack, ltsv, none
  </parse>
</source>
Other Configurations for Input
keyexampledefault valuedescription
durabletruefalseset durable flag of the queue
exclusivetruefalseset exclusive flag of the queue
auto_deletetruefalseset auto_delete flag of the queue
ttl60000nilqueue ttl in ms
prefetch_count10nil
consumer_pool_size5nil
include_headerstruefalseinclude headers in events
headers_keystringheaderkey name of headers
create_exchangetruefalsecreate exchange or not
exchange_to_bindstringnilexchange to bind created exchange
exchange_typedirecttopictype of created exchange
exchange_routing_keyhogenilcreated exchange routing key
exchange_durabletruefalsedurability of create exchange
manual_acktruefalsemanual ACK
queue_mode"lazy"nilqueue mode
queue_type"quorum"nilqueue type

Output

<match pattern>
  @type rabbitmq
  host 127.0.0.1
  # or hosts ["192.168.1.1", "192.168.1.2"]
  user guest
  pass guest
  vhost /
  format json # or msgpack, ltsv, none
  exchange foo # required: name of exchange
  exchange_type fanout # required: type of exchange e.g. topic, direct
  exchange_durable false
  routing_key hoge # if not specified, the tag is used
  heartbeat 10 # integer as seconds or :server (interval specified by server)
  <format>
    @type json # or msgpack, ltsv, none
  </format>
  <buffer> # to use in buffered mode
  </buffer>
</match>
Other Configurations for Output
keyexampledefault valuedescription
persistenttruefalsemessages is persistent to disk
timestamptruefalseif true, time of record is used as timestamp in AMQP message
content_typeapplication/jsonnilmessage content type
frame_max131072nilmaximum permissible size of a frame
mandatorytruenil
expiration3600nilmessage time-to-live
message_typenil
prioritynil
app_idnil
id_keymessage_idnilid to specify message_id
tls false # enable TLS or not
tls_cert /path/to/cert
tls_key /path/to/key
tls_ca_certificates ["/path/to/ca_certificate"]
verify_peer true

Other Configurations for Input/Output

keyexampledefault valuedescription
automatically_recovertruenilautomatic network failure recovery
network_recovery_interval30nilinterval between reconnection attempts
recovery_attempts3nillimits the number of connection recovery
connection_timeout30nil
continuation_timeout600nil

License

The gem is available as open source under the terms of the Apache License, Version 2.0.

FAQs

Package last updated on 30 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc