Configure Kafka as a target
Learn how to configure custom meters to use Apache Kafka as a target for data transition in Zuora.
- Navigate to Mediation > Meters
- Create a Custom meter.
- Select Kafka as the target. The Kafka settings page is displayed.
- Click Select to select an Event Definition on the Kafka settings page. Only event schema import from an AVSC schema is supported.
- Under the Kafka Settings section, configure the following settings:
Setting Configuration Connection Select a connection from the Connection drop-down list. To set up a connection, see Create Kafka connections in meters. Topic Select a topic from Apache Kafka for events output. Data Format Select a data format from the Kafka events. If you choose the AVRO format, you must also specify an event definition which is imported from an AVRO schema. Key Fields Click the Key Fields Format drop-down list to select one or more key fields.
The output usage event generates the partition key based on the order of key field selections. The key fields are connected by a “_” character to generate a final partition key if multiple fields are selected.
For example,
uom_product_accountId - Click Save to save the Kafka target settings.