RabbitMQ Driver Configuration update
Description:
Issue: https://gitlab.opengroup.org/osdu/pmc/community-implementation/-/issues/46 and https://gitlab.opengroup.org/osdu/pmc/community-implementation/-/issues/32
- Added new local configuration mode.
- Can be enabled by env variable
DESTINATION_RESOLVER=property
. - Used as a replacement for partition config, making local deployment possible without modifying platform configuration.
- Does not support multiple message brokers, config is limited only to a single instance of RabbitMQ.
Required env variables:
OQM_RABBITMQ_HOST=127.0.0.1
OQM_RABBITMQ_PORT=5672
OQM_RABBITMQ_PATH=""
OQM_RABBITMQ_USER_NAME="*****"
OQM_RABBITMQ_PASSWORD="*****"
OQM_RABBITMQ_ADMIN_SCHEMA="http"
OQM_RABBITMQ_ADMIN_HOST="127.0.0.1"
OQM_RABBITMQ_ADMIN_PORT="15672"
OQM_RABBITMQ_ADMIN_PATH="/api"
OQM_RABBITMQ_ADMIN_USER_NAME="*****"
OQM_RABBITMQ_ADMIN_PASSWORD="*****"
How to test:
Changes include:
-
Refactor (a non-breaking change that improves code maintainability). -
Bugfix (a non-breaking change that solves an issue). -
New feature (a non-breaking change that adds functionality). -
Breaking change (a change that is not backward-compatible and/or changes current functionality).
Changes in:
-
Common code
Dev Checklist:
-
Added Unit Tests, wherever applicable. -
Updated the Readme, if applicable. -
Existing Tests pass -
Verified functionality locally -
Self Reviewed my code for formatting and complex business logic.
Edited by Rustam Lotsmanenko (EPAM)