commercetest / pepper-box

Pepper-Box is kafka load generator plugin for jmeter. It produces kafka messages of type plain text (JSON, XML, CSV or any other custom format) as well as java serialized objects.
http://pepperbox.gslab.com/
Apache License 2.0
2 stars 3 forks source link

Add an option to create a separate Kafka topic per-thread to PepperBoxLoadGenerator #23

Closed julianharty closed 6 years ago

julianharty commented 6 years ago

As part of enhancing PepperBoxLoadGenerator to suit some of my need in terms of test tools, I'd like to add a similar configuration option to that implemented in the PepperBox Java Sampler, where the caller can ask that a separate topic is created for each thread.

Partly to enable us to consume the data with the current Consumer code, we'll use the same naming convention where a suffix is added in the form .n e.g. mytopic.3 for the 4th thread (assuming we can obtain contiguous incremental thread numbers); otherwise we may have to rethink the approach.

julianharty commented 6 years ago

Implemented in https://github.com/commercetest/pepper-box/commit/e5014d6958c675abd3abe81d480d5457b57785be and several related commits.