Skip to content

Storages

42Atomys edited this page Jun 5, 2022 · 7 revisions

Redis

Redis storage use List data type to send and store data on Redis storage.

type: redis
specs:
  # Host of the redis you want to use
  host: redis.default.svc.cluster.local
  # Port of the Redis Server
  port: 6379
  # Username used to log in
  username: 'foo' # VALUABLE*
  # Password used to log in
  password: 'bar' # VALUABLE*
  # In which database do you want to store your data
  database: 0
  # The key where you want to send the data
  key: example-webhook

Postgresql

Postgresql storage push data on a column of a configuration table in string format. You can store data in text field or jsonb field.

type: postgresql
specs:
  # Database URL of your Postgres Server
  database_url: 'postgresql://user:password@postgres.default.svc.cluster.local:5432/database' # VALUABLE*
  # In which table you want to store the data
  table_name: 'webhooks_deliveries'
  # In which column you want to store the data (data is send in string format on this field)
  data_field: 'raw_data'

RabbitMQ

RabbitMQ storage push data on a queue in string format.

type: rabbitmq
specs:
  # Database URL of your RabbitMQ Server
  database_url: 'amqp://user:password@rabbitmq.default.svc.cluster.local:5672/' # VALUABLE*
  # In which queue you want to store the data
  queue_name: 'webhooks_deliveries'
  # For some options you can look the official documentation**
  durable: false
  delete_when_unused: false
  exclusive: false
  no_wait: false
  mandatory: false
  immediate: false
  exchange: ""

Clone this wiki locally