3a59f52d55
This patch implements the pop functionality for v1.1 of the Marconi API. The POP functionality is implemented as an optional parameter in the delete messages using id params endpoint. This includes the following validations, 1. pop & id params cannot be used together in the request. 2. 0 < pop value <= max_messages_per_claim_or_pop docImpact Change-Id: I63b22e57ed5ab398b81cde2d0284767e9704ec11 Implements: blueprint api-v1.1-pop-operation
55 lines
1.3 KiB
Plaintext
55 lines
1.3 KiB
Plaintext
[DEFAULT]
|
|
# Show more verbose log output (sets INFO log level output)
|
|
verbose = True
|
|
|
|
# Show debugging output in logs (sets DEBUG log level output)
|
|
debug = True
|
|
|
|
# Log to this file!
|
|
; log_file = /var/log/marconi/server.log
|
|
|
|
;auth_strategy =
|
|
|
|
# ================= Syslog Options ============================
|
|
|
|
# Send logs to syslog (/dev/log) instead of to file specified
|
|
# by `log_file`
|
|
;use_syslog = False
|
|
|
|
# Facility to use. If unset defaults to LOG_USER.
|
|
;syslog_log_facility = LOG_LOCAL0
|
|
|
|
|
|
[drivers]
|
|
# Transport driver module (e.g., wsgi, zmq)
|
|
transport = wsgi
|
|
# Storage driver module (e.g., mongodb, sqlalchemy)
|
|
storage = sqlalchemy
|
|
|
|
[drivers:transport:wsgi]
|
|
bind = 127.0.0.1
|
|
port = 8888
|
|
|
|
;[drivers:transport:zmq]
|
|
;port = 9999
|
|
|
|
[limits:transport]
|
|
# The maximum number of queue records per page when listing queues
|
|
;max_queues_per_page = 20
|
|
|
|
# Maximum number of messages per page when listing messages.
|
|
;max_messages_per_page = 20
|
|
|
|
# Maximum number of messages that can be claimed or popped at a time.
|
|
;max_messages_per_claim_or_pop = 20
|
|
|
|
# Expiration limits; the minimal values are all 60 (seconds)
|
|
;max_message_ttl = 1209600
|
|
;max_claim_ttl = 43200
|
|
;max_claim_grace = 43200
|
|
|
|
# Maximum size in bytes allowed for queue metadata and bulk/single
|
|
# message post bodies (including whitespace and envelope fields).
|
|
;max_queue_metadata = 65536
|
|
;max_message_size = 262144
|