Skip to content

red-bashmak/gatling-kafka-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gatling Kafka Plugin

Build Maven Central Scala Steward badge

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

About

Plugin for support Kafka in Gatling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%