Skip to main content

Generator configuration

kafkaValueAvroSchemaHint

Commentary

added in 0.3.8

local configuration

Deprecated: See avroSchemaHint instead.

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


Examples

Overriding the Avro schema

Set 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

{}