You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
89 lines
2.9 KiB
89 lines
2.9 KiB
12 years ago
|
{
|
||
|
"description": {"01":"Leader Garbage Collection Pauses Simulation in Replication : 1. auto_create_topic => true",
|
||
|
"02":"Produce and consume messages to a single topic - three partition.",
|
||
|
"03":"This test sends messages to 3 replicas",
|
||
|
"04":"To simulate GC Pauses : kill -SIGSTOP => wait N seconds => kill -SIGCONT",
|
||
|
"05":"At the end it verifies the log size and contents",
|
||
|
"06":"Use a consumer to verify no message loss.",
|
||
|
"07":"Producer dimensions : mode:sync, acks:-1, comp:0",
|
||
|
"08":"Log segment size : 102400"
|
||
|
},
|
||
|
"testcase_args": {
|
||
|
"broker_type": "leader",
|
||
|
"bounce_broker": "false",
|
||
|
"pause_time_in_seconds": "5",
|
||
|
"replica_factor": "3",
|
||
|
"num_partition": "3",
|
||
|
"num_iteration": "3",
|
||
|
"auto_create_topic": "true",
|
||
|
"sleep_seconds_between_producer_calls": "1",
|
||
|
"message_producing_free_time_sec": "15",
|
||
|
"num_messages_to_produce_per_producer_call": "50"
|
||
|
},
|
||
|
"entities": [
|
||
|
{
|
||
|
"entity_id": "0",
|
||
|
"clientPort": "2188",
|
||
|
"dataDir": "/tmp/zookeeper_0",
|
||
|
"log_filename": "zookeeper_2188.log",
|
||
|
"config_filename": "zookeeper_2188.properties"
|
||
|
},
|
||
|
{
|
||
|
"entity_id": "1",
|
||
|
"port": "9091",
|
||
|
"broker.id": "1",
|
||
|
"num.partitions": "3",
|
||
|
"default.replication.factor": "3",
|
||
|
"log.segment.bytes": "102400",
|
||
|
"log.dir": "/tmp/kafka_server_1_logs",
|
||
|
"log_filename": "kafka_server_9091.log",
|
||
|
"config_filename": "kafka_server_9091.properties"
|
||
|
},
|
||
|
{
|
||
|
"entity_id": "2",
|
||
|
"port": "9092",
|
||
|
"broker.id": "2",
|
||
|
"num.partitions": "3",
|
||
|
"default.replication.factor": "3",
|
||
|
"log.segment.bytes": "102400",
|
||
|
"log.dir": "/tmp/kafka_server_2_logs",
|
||
|
"log_filename": "kafka_server_9092.log",
|
||
|
"config_filename": "kafka_server_9092.properties"
|
||
|
},
|
||
|
{
|
||
|
"entity_id": "3",
|
||
|
"port": "9093",
|
||
|
"broker.id": "3",
|
||
|
"num.partitions": "3",
|
||
|
"default.replication.factor": "3",
|
||
|
"log.segment.bytes": "102400",
|
||
|
"log.dir": "/tmp/kafka_server_3_logs",
|
||
|
"log_filename": "kafka_server_9093.log",
|
||
|
"config_filename": "kafka_server_9093.properties"
|
||
|
},
|
||
|
{
|
||
|
"entity_id": "4",
|
||
|
"topic": "test_1",
|
||
|
"threads": "5",
|
||
|
"compression-codec": "1",
|
||
|
"message-size": "500",
|
||
|
"message": "100",
|
||
|
"request-num-acks": "-1",
|
||
|
"producer-retry-backoff-ms": "3500",
|
||
|
"producer-num-retries": "3",
|
||
|
"sync":"false",
|
||
|
"log_filename": "producer_performance.log",
|
||
|
"config_filename": "producer_performance.properties"
|
||
|
},
|
||
|
{
|
||
|
"entity_id": "5",
|
||
|
"topic": "test_1",
|
||
|
"groupid": "mytestgroup",
|
||
|
"consumer-timeout-ms": "10000",
|
||
|
"zookeeper": "localhost:2188",
|
||
|
"log_filename": "console_consumer.log",
|
||
|
"config_filename": "console_consumer.properties"
|
||
|
}
|
||
|
]
|
||
|
}
|