Skip to main content

Generator configuration

kafkaValueAvroSchemaHint

Commentary

added in 0.3.8

local configuration

When using the Kafka Avro serializer, explicitly defines the Avro schema for the value.


Examples

Overriding the Avro schema

Set the kafkaValueAvroSchemaHint to the exact Avro schema you want ShadowTraffic to register with Schema Registry.

{
"generators": [
{
"topic": "customers",
"value": {
"_gen": "boolean"
},
"localConfigs": {
"kafkaValueAvroSchemaHint": {
"type": "boolean"
}
}
}
]
}

Specification

JSON schema

{}