Coder Social home page Coder Social logo

kafka-gatling-extension's Introduction

kafka-gatling-extension

Gatling is an open-source load testing framework. The Kafka Gatling extension can be used for stress testing an existing Apache Kafka installation using Gatling.

Compatibility

The extension supports Apache Kafka 0.10 protocol & latest released version of Gatling 2.2.

Installation

Installation as a maven plugin

In pom.xml add,

<repository>
   <id>gatling-kafka-extension</id>
   <name>gatling-kafka-extension</name>
   <url>https://dl.bintray.com/sbcd90/io.gatling/</url>
</repository>

add the extension as a maven dependency,

<dependency>
   <groupId>io.gatling</groupId>
   <artifactId>kafka-gatling-extension</artifactId>
   <version>1.0</version>
</dependency>

Installation from source

mvn clean install -Ppackage-only

Getting started

  • Look into the file BasicSimulation.scala. Point it to the right Kafka Broker coordinates & provide the correct Kafka topic name.
  • Start the simulation using the command
mvn gatling:execute -Dgatling.simulationClass=io.gatling.simulation.BasicSimulation

Features

  • Custom avro schemas can be passed for generating records using them. Here is an example

  • An in-built Random Data Generator is provided for getting started with Load tests quickly.

  • Custom data generators can be added if necessary. Here is an example

  • Gatling feeders are supported & a custom csv file can be passed for loading data. Here is an example

kafka-gatling-extension's People

Contributors

sbcd90 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kafka-gatling-extension's Issues

Authorization failed for mvn clean install -Ppackage-only

Hi
I want to use your Gatling plugin but when I tried to run "mvn clean install -Ppackage-only" I got an error as follows:

[ERROR] Failed to execute goal on project testing: Could not resolve dependencies for project com.learn.gatling:testing:jar:1.0-SNAPSHOT: Failed to collect dependencies at io.gatling:kafka-gatling-extension:jar:1.0: Failed to read a
rtifact descriptor for io.gatling:kafka-gatling-extension:jar:1.0: Could not transfer artifact io.gatling:kafka-gatling-extension:pom:1.0 from/to gatling-kafka-extension (https://dl.bintray.com/sbcd90/io.gatling/): Authorization fai
led for https://dl.bintray.com/sbcd90/io.gatling/io/gatling/kafka-gatling-extension/1.0/kafka-gatling-extension-1.0.pom 403 Forbidden -> [Help 1]

Can you assist with it?
BR,
Adi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.