Application Settings
Application Settings describes application settings for CDR Kafka router. For descriptions of all the available parameters (including these), see the discussion about configuring CDR Kafka router.
Property | Description |
---|---|
Global Settings | |
router.port | The container port to use for metrics and ready check. The default value is 8282. |
router.topic | The inbound topic. The default value is sba-cdr .
This property is overridden by Helm properties, where those are
present. |
router.metrics.enabled | When set to true , the service exports Prometheus
metrics. The default value is true . |
router.metrics.endpoint | The service address for metrics. The default value is
/metrics . |
router.shutdownSeconds | Time in seconds before shutting down the streaming applications. The default value is 5. |
router.connectionBackOffSeconds | Time in seconds to pause before re-trying to connect to Kafka on start-up, in seconds. The default value is 10. |
router.configuration | A map of configuration options used to override Kafka Streams
configuration defaults, for example
bootstrap.servers : Configuration
applied with router.configuration applies to both
applications. A value for |
Enrichment and Routing Settings | |
router.consumerId | Consumer group ID for the routing application. This is only
used if not specified with
routing.configuration.application.id . The default
value is mtx-sba-events-router-1 . |
router.tags | The list of item elements to test for and
apply. |
router.routing.noMatch | The routing topic when no match is made. |
router.routing.routes | The routing configuration. |
Transformation Settings | |
router.transform.enabled | When set to true , the transform function is created.
The default value is false . This property is overridden
by Helm properties, where those are present. |
router.transform.inbound | The inbound topic for transformation. This property is overridden by Helm properties, where those are present. |
router.transform.outbound | The outbound topic for transformation. This property is overridden by Helm properties, where those are present. |
router.transform.consumerId | The consumer group ID for transformer. The default value is
mtx-sba-events-transformer-1 . |
The router.configuration
Kafka options are used for both applications. If application.id
is supplied, it is used instead of
router.consumerId
for the routing application. The property is overwritten for the transform application if it is enabled, using
router.transform.consumerId
.
The following is a minimal configuration using the transformation function only:
router:
configuration:
bootstrap.servers: kafka:9092
transform:
enabled: true
inbound: inbound.topic
outbound: outbound.topic