-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathbroker.yaml
More file actions
52 lines (43 loc) · 1.69 KB
/
broker.yaml
File metadata and controls
52 lines (43 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# HyperFleet Sentinel Broker Configuration
# This file configures the message broker for publishing reconciliation events
# For more details, see: https://github.com/openshift-hyperfleet/hyperfleet-broker
broker:
# Broker type: rabbitmq or googlepubsub
type: rabbitmq
# RabbitMQ Configuration
rabbitmq:
# Connection URL format: amqp://user:password@host:port/vhost
# Can be overridden with BROKER_RABBITMQ_URL environment variable
url: amqp://guest:guest@localhost:5672/
# Exchange type: topic, direct, fanout, or headers
exchange_type: topic
# Optional: Prefetch count (max unacknowledged messages per consumer)
# Higher values increase throughput but also memory usage
# prefetch_count: 20
# Optional: Prefetch size (byte limit for unacknowledged messages)
# prefetch_size: 0
# Google Pub/Sub Configuration (alternative to RabbitMQ)
# Uncomment to use Google Pub/Sub instead
# googlepubsub:
# # GCP Project ID
# # Can be overridden with BROKER_GOOGLEPUBSUB_PROJECT_ID
# project_id: my-gcp-project
#
# # Optional: Max outstanding messages (backpressure control)
# # max_outstanding_messages: 1000
#
# # Optional: Number of goroutines for message pulling
# # num_goroutines: 10
# Publisher configuration
publisher:
# No additional publisher settings needed for now
# The broker library handles publishing automatically
# Subscriber configuration (if this service subscribes to messages)
subscriber:
# Number of parallel workers for message processing
# Default: 1
parallelism: 1
# Logging configuration
# Set to true to log the complete broker configuration at startup
# Useful for debugging and troubleshooting
log_config: false