Configure Orchestrate Transaction Listener
Follow these steps to configure and connect to Orchestrate Transaction Listener dependencies:
- Configure Apache Kafka (mandatory)
- Configure monitoring (optional). Improve the development experience and debugging.
- Configure Multi-tenancy (optional). Use Orchestrate with multiple tenants.
In addition to the dependencies, Orchestrate Transaction Listener needs to be configured to connect to the other microservices and to define how the service should be exposed.
tip
Configure each microservice using microservice-specific environment variables. Command line options are also available and take precedence over environment variables.
Configuration
Environment Variable | Command line option | Description | Default |
---|---|---|---|
TX_LISTENER_PROVIDER_REFRESH_INTERVAL | tx-listener-provider-refresh-interval | Time interval in seconds for refreshing the configuration of registered chains | 5s |
API_URL | api-url | URL of the Gateway API HTTP endpoint | localhost:8081 |
API_METRICS_URL | (only ENV var) | URL of the Gateway API HTTP metrics endpoint. | localhost:8082 |
TX_SENTRY_REFRESH_INTERVAL | tx-sentry-refresh-interval | Interval of time in seconds between checks for pending transactions | 1s |
CLI options
See the complete list of command line options for the Orchestrate Transaction Listener:
{!cmd/tx-listener-run.txt!}