Content-Based CDR Routing
The CDR Kafka router republishes each charging data record (CDR) based on its content, either as received or enriched with additional data on a conditional basis.
The router sends records to output topics based on the content of each record received on the inbound topic. The choice of outbound topic is determined by a logical predicate that matches a JSON path to a value in the record. The record can also be enriched with data based on matching content in the record. As the enrichment occurs before the outbound topic is decided, this added data can be used in the predicate.
Figure 1 shows the flow of records through the CDR Kafka router.