ShadowTraffic
ShadowTraffic is a containerized service for declaratively generating data, packed with knobs to perfectly mimic your production traffic to Kafka-compatible, and other destinations.
Last updated
Was this helpful?
Was this helpful?
export BOOTSTRAP_HOST=<YOUR_BOOTSTRAP_BROKER> \
SASL_USERNAME=<YOUR_SASL_USERNAME> \
SASL_PASSWORD=<YOUR_SASL_PASSWORD>;{
"generators" : [ {
"topic" : "<YOUR_TOPIC>",
"value" : {
"customerId" : {
"_gen" : "uuid"
}, "connections" : {
"warpstream" : {
"kind" : "kafka",
"producerConfigs" : {
"bootstrap.servers" : "<YOUR_BOOTSTRAP_BROKER>",
"sasl.jaas.config": "org.apache.kafka.common.security.plain.PlainLoginModule required username='<YOUR_SASL_USERNAME>' password='<YOUR_SASL_PASSWORD>';",
"value.serializer": "io.shadowtraffic.kafka.serdes.JsonSerializer",
"key.serializer": "io.shadowtraffic.kafka.serdes.JsonSerializer",
"sasl.mechanism": "PLAIN",
"security.protocol": "SASL_SSL"
}
}
}docker run --env-file license.env -v $(pwd)/parade.json:/home/<YOUR_JSON>.json shadowtraffic/shadowtraffic:latest --config /home/config.json --watch