docs/references/configs/page.md
This document lists all the configuration options supported by the GoFr framework. The configurations are grouped by category for better organization.
{% table %}
{% /table %}
{% table %}
{% /table %}
{% table %}
https://app.example.com,https://admin.example.com).*{% /table %}
{% table %}
{% /table %}
{% table %}
{% /table %}
Redis PubSub Configuration:
{% table %}
PUBSUB_BACKEND=REDIS). Use a different DB than REDIS_DB when running GoFr migrations with Redis Streams mode to avoid gofr_migrations key-type collisions.15 (highest default Redis database, 0-15)pubsub or streams.XREADGROUP. Lower values (1s-2s) provide faster detection but increase CPU usage. Higher values (10s-30s) reduce CPU usage, ideal for batch processing.0 for unlimited.{% /table %}
Note: When using GoFr migrations with Streams mode, keep
REDIS_DBandREDIS_PUBSUB_DBseparate (defaults: 0 and 15). ForREDIS_STREAMS_BLOCK_TIMEOUT: use 1s-2s for real-time or 10s-30s for batch processing.
{% table %}
{% /table %}
Kafka
{% table %}
{% /table %}
{% table %}
{% /table %}
MQTT
{% table %}
MQTT_KEEP_ALIVE
Sends regular messages to check the link is active. May not work as expected if handling func is blocking execution
MQTT_RETRIEVE_RETAINED
Retrieve retained messages on subscription
{% /table %}
NATS JetStream
{% table %}
{% /table %}