kafka/checkstyle
Anna Povzner 5c24295d44 Trogdor's ProducerBench does not fail if topics exists (#4673)
Added configs to ProducerBenchSpec:
topicPrefix: name of topics will be of format topicPrefix + topic index. If not provided, default is "produceBenchTopic".
partitionsPerTopic: number of partitions per topic. If not provided, default is 1.
replicationFactor: replication factor per topic. If not provided, default is 3.

The behavior of producer bench is changed such that if some or all topics already exist (with topic names = topicPrefix + topic index), and they have the same number of partitions as requested, the worker uses those topics and does not fail. The producer bench fails if one or more existing topics has number of partitions that is different from expected number of partitions.

Added unit test for WorkerUtils -- for existing methods and new methods.

Fixed bug in MockAdminClient, where createTopics() would over-write existing topic's replication factor and number of partitions while correctly completing the appropriate futures exceptionally with TopicExistsException.

Reviewers: Colin P. Mccabe <cmccabe@confluent.io>, Rajini Sivaram <rajinisivaram@googlemail.com>
2018-03-20 13:51:45 +00:00
..
checkstyle.xml KAFKA-5316; LogCleaner should account for larger record sets after cleaning 2017-05-28 09:57:59 -07:00
import-control-core.xml KAFKA-5520: KIP-171; Extend Consumer Group Reset Offset for Stream Application 2017-12-06 11:38:38 -08:00
import-control.xml KAFKA-6246; Dynamic update of listeners and security configs (#4488) 2018-02-04 09:19:16 -08:00
java.header MINOR: improve license header check by providing head file instead of (prefix) header regex 2017-02-28 12:35:04 -08:00
suppressions.xml Trogdor's ProducerBench does not fail if topics exists (#4673) 2018-03-20 13:51:45 +00:00