Gatling Kafka Plugin
Introduction
Plugin to support Kafka in Gatling(3.7.x)
Usage
Getting Started
Plugin is currently available for Scala 2.13.
You may include plugin as dependency in project with your tests. Write
libraryDependencies += "ru.tinkoff" %% "gatling-kafka-plugin" % <version> % Test
Example Scenarios
Examples here
Download and create Avro schema
Avro schema is downloaded using the plugin sbt-schema-registry-plugin
and for that you need to configure schemas and url in build.sbt
and run the command:
sbt schemaRegistryDownload
To create java classes you should add use capabilities, that provide plugin sbt-avro.
This plugin is included in project and will do all needed for creating java classes in compile stage.
To run you should create scala object in root project directory and type sbt run
.
Example download avro-schema
Example here