Kafka Schema
apiVersion: v3.0.1
kind: DataContract
id: orders
status: development
name: Orders Event Stream
version: 0.0.1
schema:
- name: Orders
physicalName: orders
logicalType: object
physicalType: topic
description: Orders Kafka topic
properties:
- name: cust_id
businessName: Customer ID
logicalType: string
physicalType: string
required: true
- name: prod_id
businessName: Product ID
logicalType: string
physicalType: string
required: true
- name: qty
businessName: Quantity
logicalType: integer
physicalType: int
required: true
servers:
- server: my-kafka
type: kafka
format: avro
host: kafkabroker1:9092