qmp-testing-suite/kafka-stack/qmp.configuration.v1.avsc

112 lines
3.8 KiB
JSON
Executable File

[
{
"type": "record",
"name": "tc_topic_field",
"fields": [
{"name": "max_message_bytes", "type": ["null", "int"], "default": null},
{"name": "retention_bytes", "type": ["null", "long"], "default": null},
{"name": "retention_ms", "type": ["null", "long"], "default": null},
{"name": "segment_ms", "type": ["null", "long"], "default": null},
{"name": "min_insync_replicas", "type": ["null", "int"], "default": null},
{"name": "cleanup_policy", "type": ["null", "string"], "default": null}
]
},
{
"type": "record",
"name": "tc_producer_field",
"fields": [
{"name": "max_request_size", "type": ["null", "int"], "default": null},
{"name": "buffer_memory", "type": ["null", "long"], "default": null},
{"name": "batch_size", "type": ["null", "int"], "default": null},
{"name": "linger_ms", "type": ["null", "long"], "default": null}
]
},
{
"type": "record",
"name": "tc_consumer_field",
"fields": [
{"name": "fetch_max_bytes", "type": ["null", "int"], "default": null}
]
},
{
"type": "record",
"name": "qpl_producer_field",
"fields": [
{"name": "acks", "type": ["null", "string"], "default": null},
{"name": "retries", "type": ["null", "int"], "default": null},
{"name": "max_in_flight_requests_per_connection", "type": ["null", "int"], "default": null}
]
},
{
"type": "record",
"name": "qcl_consumer_field",
"fields": [
{"name": "enable_auto_commit", "type": "boolean", "default": false},
{"name": "max_poll_records", "type": ["null", "int"], "default": null},
{"name": "auto_offset_reset", "type": ["null", "string"], "default": null}
]
},
{
"type": "record",
"name": "qcl_qmp_field",
"fields": [
{"name": "qmp_max_lag_ms", "type": ["null", "long"], "default": null},
{"name": "qmp_record_retries", "type": ["null", "int"], "default": null},
{"name": "qmp_poll_timeout", "type": ["null", "long"], "default": null},
{"name": "qmp_sleep_time", "type": ["null", "long"], "default": null}
]
},
{
"type": "record",
"name": "topic_class",
"fields": [
{"name": "topic", "type": "tc_topic_field"},
{"name": "producer", "type": "tc_producer_field"},
{"name": "consumer", "type": "tc_consumer_field"}
]
},
{
"type": "record",
"name": "producer",
"fields": [
{"name": "producer", "type": "qpl_producer_field"}
]
},
{
"type": "record",
"name": "consumer",
"fields": [
{"name": "consumer", "type": "qcl_consumer_field"},
{"name": "qmp", "type": "qcl_qmp_field"}
]
},
{
"namespace": "qmp.envelope",
"type": "record",
"name": "envelope",
"fields": [
{"name": "schema_id", "type": "string"},
{"name": "message_id", "type": "string"},
{"name": "timestamp", "type": "long"},
{"name": "writer_host", "type": "string"},
{"name": "writer_app", "type": "string"},
{"name": "trace_id", "type": ["null", "string"], "default": null},
{"name": "organization_id", "type": ["null", "string"], "default": null},
{"name": "payload", "type": {
"type": "record",
"name": "payload",
"fields": [
{"name": "A", "type": ["null", "topic_class"], "default": null},
{"name": "B", "type": ["null", "topic_class"], "default": null},
{"name": "C", "type": ["null", "topic_class"], "default": null},
{"name": "bulk_producer", "type": ["null", "producer"], "default": null},
{"name": "durable_producer", "type": ["null", "producer"], "default": null},
{"name": "bulk_consumer", "type": ["null", "consumer"], "default": null},
{"name": "background_job_consumer", "type": ["null", "consumer"], "default": null},
{"name": "idempotent_background_job_consumer", "type": ["null", "consumer"], "default": null},
{"name": "topic_map", "type": ["null", {"type": "map", "values": "string"}], "default": null}
]
}}
]
}]